2026 03 18 Scanner

  1. The person types:

     Help  I    am
     stuck!!   You
     EOF
    

The output is:

1Help
2I
3am
4stuck!!
5you
6EOF
  1. The computer prompts for an integer. Output is 6 multiples of whatever number was given.

     Number: 6
     8 16 24 32 40 48
    
  2. 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