2026 03 18 Scanner
-
The person types:
Help I am stuck!! You EOF
The output is:
1Help
2I
3am
4stuck!!
5you
6EOF
-
The computer prompts for an integer. Output is 6 multiples of whatever number was given.
Number: 6 8 16 24 32 40 48 -
As keep counting words until the word “EOF” is seen. Then output the number of words seen.
Keep typing until you are well done. 7