Ask coding questions

← Back to all posts
Need help correcting an error * urgent*
NanaOhene_Nyark (1)

The code is trying to calculate grade averages but I get an error in my method

Commentshotnewtop
pyelias (659)

On repl.it your class has to be named Main. (you could also move it to another file named Lab03.java)

NanaOhene_Nyark (1)

@pyelias I made the correction (I probably messed it up) but got way more errors than before

abc3354 (96)

Elias said it.
But take care, your first if statement (line 37) do not do anything.
You need to remove the semcolon ";" and maybe to use braces.