I\'m working on an JAVA assignment should process multiple lines of input. The instructions read \"Input is read from stdin.\"
An example of sample input is given:
From the shell, hit Ctrl-D and it will close stdin. Alternatively, pipe input in
cat your-input-file | java Test