4. Program Looping
One of the great powers of computers is their ability to perform repeated calculations. The C program has a few constructs specifically designed to handle these situations when you need to use the same code repeatedly. This chapter will help you understand these tools, including
The for
statement
The while
statement
The do
statement
The break
statement
The continue
statement
Triangular Numbers
If you arrange 15 dots in the ...
Get Programming in C, Fourth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.