Do problems 6-10 at the end of the Scanner chapter.