Print the statement programming is fun the number of times


Create a program that asks the user to enter a number from 1 to 50.

Print the statement "Programming is fun" the number of times entered by the user using a for loop.

Print the statement "Spring break is fun" the same number of times using a while loop.

Solution Preview :

Prepared by a verified Expert
C/C++ Programming: Print the statement programming is fun the number of times
Reference No:- TGS01248239

Now Priced at $20 (50% Discount)

Recommended (97%)

Rated (4.9/5)