#can somebody tell me why i am getting this error?

9 messages · Page 1 of 1 (latest)

teal elm
#

im doing the mooc.fi course to learn java and i keep getting this error even though i cant see anything wrong with my code.

high palmBOT
#

This post has been reserved for your question.

Hey @teal elm! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.

teal elm
#

heres the error

#

when i run it in netbeans it works fine, but when i try to submit it to the site it says that its printing the wrong values i dont know..

whole swan
#

the grade is always zero

#

you are not using scanner to take user input

cobalt dirge
#

use int grade = scan.nextInt();