You are viewing a single comment's thread from:

RE: Solve This Java - Win 8 SBD [Closed]

in #contest7 years ago (edited)

HelloWorld.java:4: error: illegal start of expression
int Answer = [4];
^
HelloWorld.java:4: error: not a statement
int Answer = [4];
^
HelloWorld.java:4: error: ';' expected
int Answer = [4];
^
3 errors

There should be no "[ ]" in the declaration. But you stated in Instruction no. 2.Substitute the phrase "Find the number for this" with the number you found in Question One.

Only the phrase will be replaced not including the brackets "[ ]".

Sort:  

wow this is all greek to me lol

Shouldn't have assumed you guys would remove the brackets, but i guess you knew what i was looking for :)

you should include the default string so it would be more challenging hahaha.. but this is a good one with a whooping prize.. Thank you