Challenge for Scanner and I/O
Challenge
In one line of code, declare an integer variable a
and sets its value to the next integer of input. (Use your existing in
Scanner.)
Please sign in or sign up to submit answers.
Alternatively, you can try out Learneroo before signing up.