Figure 7.1 shows a flow chart. A flow chart is defined as a pictorial representation of how to plan the stages of a project. It helps to visualize what decisions need to be made to accomplish a task. People control their lives by making decisions, and so do programs. In fact, acccording to computer science books, a good language allows you to control the flow of your program in three ways:
• Execute a sequence of statements.
• Based on a test, branch to an alternative sequence of statements.
• Repeat a sequence of statements until some ...