"Writing a program is a matter of putting together control structures such as if, switch, while, do-while and for to make a range of paths through the program according to what the program should do." . . . .