Posts by Otávio Messias • 1 point
1 post
-
-2
votes1
answer85
viewsQ: Exception error in thread "main" java.lang.Numberformatexception: For input string:
I’m having trouble getting my program to return the IF in a correct way, when I put the FOR it counts the number of times it is in the variable, if I type an input less than 14 it instead of falling…