Question: Only importing scanner, and only using while loops Write a Java program that reads user input character by character until a sentinel value of .
Only importing scanner, and only using while loops
Write a Java program that reads user input character by character until a sentinel value of . Is entered. Then print the character stream to the screen as a String (including the sentinel character).
W
e
i
r
d
.
Weird.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
