Though it might appear annoying, the program not compiling. To the best of my understanding, there is a closing parenthesis on line 37. Is it some cache related issue?


enter image description here

1 Answer 1


Sometimes, the compiler can't quite figure out the real problem. But, at least it usually indicates roughly where it is! Look at the line of code:

if (sum % 10 ! = 0)

The problem lies with the operator " != ". In this code, there's a space between the exclamation point and the equals sign. You can't have a space there. That's what's breaking the code. It's confusing the compiler!!! ;-)

If this answers your question, please click on the check mark to accept. Let's keep up on forum maintenance. ;-)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .