There are several ways, the prototype of an actual program can be represented; one of them, is by making use of flowcharts
Flowcharts show the steps taken to execute a task, graphically.
<u>(a) Area of a circle</u>
The flow of the flowchart, goes as thus:
- <em>Start</em>
- <em>Let Radius = 5</em>
- <em>Let PI = 3.14</em>
- <em>Calculate Area = PI * Radius * Radius</em>
- <em>Print Area</em>
- <em>Stop</em>
<em />
<u>(b) Area of a rectangle</u>
The flow of the flowchart, goes as thus:
- <em>Start</em>
- <em>Input l</em>
- <em>Input w</em>
- <em>Calculate Area = l * w</em>
- <em>Print Area</em>
- <em>Stop</em>
<em />
<u>(c) Area of a circle</u>
The flow of the flowchart, goes as thus:
- Start
- Input Gender
- If Gender == 'M"
- Print "You're a Male"
- else
- Print "You're a Female"
- Stop
See attachment for the required flowcharts
Read more about flowcharts at:
brainly.com/question/17373574