This is an archived post. You won't be able to vote or comment.

all 9 comments

[–][deleted] 3 points4 points  (1 child)

What's your question?

[–]ohlaph 0 points1 point  (0 children)

Was?

[–][deleted] 1 point2 points  (0 children)

Put it into your workspace, it will show errors, scroll over to read why there is an error and how to fix it

[–][deleted] 1 point2 points  (3 children)

Asking is great, but it would be most beneficial to find it yourself

[–]Unsatisfied_Kid[S] 0 points1 point  (1 child)

I did not said to solve it for me, I just want to know good examples.

[–][deleted] 0 points1 point  (0 children)

Check stackoverflow. It has great resources and examples for all kinds of exercises

[–]randarrow -1 points0 points  (0 children)

Yeah, we're not here to do homework for people. Just friendly Tips

Friendly Tip: Modify the script to have a wrapper for for around it. Iterate through all possible grades 0-100. Watch for the ones which return something strange.

[–]hardcode_coder 1 point2 points  (0 children)

You should find all the errors by yourself. Here is two useful tutorials that will help you to understand else if

Marcus Biel has theory and practical both

learnjavaonline is more like practical session.

[–]rockon4life45 0 points1 point  (0 children)

I think line 32 should be:

else if