成人快手

Flowchart example

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.

Functional requirements

InputsProcessesOutputs
Daily totalCalculate averageAverage
InputsDaily total
ProcessesCalculate average
OutputsAverage

Design using flowchart

N5 Computing Science flowcharts

Related links