0
Whats wrong with my code?
Im trying to write a code that calculate avrage of 10 grades and it keeps say "error" and i dont understand where is the problem https://code.sololearn.com/c6V4b888QRjr/?ref=app
5 Antworten
+ 4
It doesn't show error if you input a value 10 times because you put Scanner.nextInt() function in a loop that executes 10 times
+ 5
In the loop...
System.out.println("Enter grade : "+grade);
+ 4
Can't get your question.. please describe more
+ 1
if i want to insert one at a time How i make it work?
+ 1
i want that the program print "enter grade" every time before the user put in the grade
sorry for my bad english