#need help with error i am a beginner
1 messages · Page 1 of 1 (latest)
You have one closing brace too much. The else on line 29 doesn't have an opening brace and thus the closing one ends the method, with the next one closing the class. If you format your code properly then this should be quite apparent
@charred cypress i am a bit confused on what you mean
I recommend using a proper IDE like intelliJ CE which will help you with these kinds of issues, and using consistent formatting.
i won't be able to as i am using a website whcih my university has given me