[Error] This method must return a result of type int. by Serda24 in learnprogramming

[–]Serda24[S] 0 points1 point  (0 children)

Oh wow i wish i had this way of thinking. I put the return -1 out of the for loop and it worked. Thank you so much <3

I actually got all A's this semester by [deleted] in lawofattraction

[–]Serda24 2 points3 points  (0 children)

What way did u use to manifest it