Challenge for Scanner and I/O

Challenge

You realized you want to scan in both words of input that the user types. Write a 2nd line of code that uses in (your scanner) to assign the next word to the String variable word2.

Please sign in or sign up to submit answers.

Alternatively, you can try out Learneroo before signing up.

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