A simple application that demostrates the use of a PrintWriter object and while loops