Pseudocode, flow charts and structure diagram are techniques that are used to design software. These allow data flow, constructs and variables to be identified before coding begins.
The programmer will consider the purpose and functional requirements that were established at the analysis phase.
In this example, the information from the analysis phase is shown to provide a context for the flowchart that follows.
Analysis used to inform design
Purpose
The owners of a theme park have asked that a program be developed to record the average number of visitors in a week. A user will enter the total number of visitors for each day of the week. The program should then output the average number of visitors across the week.