change while loops to do-while as the condition is true the first time and the check...