Loops, greet the user

This assignment tests your ability to write programs using For loops.

Begin by studying our notes on looping and the Debug window. When you thoroughly understand them, write a greeting program, Use a For loop with a maximum of 10 iterations.

Be sure to check the validity of the user's input. Also test your loop using extreme values -- what happens if the user requests 0 or 1 iteration? Ten iterations?


Disclaimer: The views and opinions expressed on unofficial pages of California State University, Dominguez Hills faculty, staff or students are strictly those of the page authors. The content of these pages has not been reviewed or approved by California State University, Dominguez Hills.