Scanner example

This program shows how to use the Scanner class to accept input from the
user. Pay attention to when the Scanner object advances to the next
line. You control this behavior.