Questions for Chapter 11
- How many kinds of loop does C offer, and what are they?
- When is the condition tested in each of the loops?
- Which of the loops is always executed at least once?
- Write a program that copies all input to output line by line.
- Write a program to get 10 numbers from the user and add them together.
- Rewrite the nested loops example to print a square with
whileloops instead of