I guess you're in the same class as this guy: http://www.javaprogrammingforums.com/loops-control-statements/11707-having-trouble-figuring-out-method-involves-while-loops.html