Sunday, September 28, 2014

Exercise 11: dowhile-loop (day4)

1. Declare a variable which has the age of the person. Print the user’s name as many times as his age


2. The program displays even numbers from 1 to 30.


3. The program displays numbers from 10 to 0 in the reverse order


4. The program will accept integers and display them until zero (0) is entered


5.  Find the factorial of a number.


No comments:

Post a Comment