In this chapter:
What pseudocode is
Statements that a program can use to execute code repeatedly
Statements that a program can use to take different actions depending on circumstances
Statements that a program can use to jump to new lines of code
YOU CAN WRITE COMPUTER PROGRAMS TO do all sorts of things. A simple billing application might add up charges for each customer, print monthly invoices, list the customers with the largest outstanding balances, and disconnect service for customers who haven’t paid their bills in several months.
To do all those things, the program must manage its flow of execution. It cannot simply step through a series of commands one at a time, from start to finish. For example, a billing program ...