0
why am I getting "reached end of file while parsing"?
I added "if(age > 32) {" to the code to try and print "error" but I just got "no output" why? sorry it says "reached end of file while parsing"
4 Answers
+ 1
Dude, that error means that: You didn't close your void main with a curly brace properly. Check.
0
you dont have a System.out.println(" "); saying what you want your program to print
0
I added that to the nested if statment example
0
oh, im not quite sure whats wrong.... sorry