App to show the use of while loop