Hi, could someone help please.

I need to know how to use while statement instead of try and catch to execute this program please help .



/*
* To change this template, choose Tools |...