Ask coding questions

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

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

Commentshotnewtop
2

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

1

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

1

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.