Scanner Comments


  • I'm having trouble with this exercise - I get the correct output which is highlighted in green but the final line where it says "All Your Output" is highlighted in red. I'm assuming the problem is with the 3rd part - my code for that is as follows:
    n = in.nextInt();

  • @Victoria, you need to print it with an exclamation point at the end.

  • I updated the challenge so it shows all the Input/Output.

  • Please give the answer, as i cannot find out what ive been doing wrong

Contact Us
Sign in or email us at [email protected]