Examples of Flowcharts
Examples of Flowcharts
Questions:
Q1
Draw a flowchart for a program used to prompt the user to enter two numbers. The program should find the sum and average then display the output on the screen.
Q2
Draw a flowchart for a program that would prompt the user to enter the length and width of a rectangle, calculate the area and perimeter then display the result
Q3
Design a flowchart for a program that can be used to classify people according to the age limit. If a person is more than 20 years, output "adult" otherwise output "young person"
Q4
Design a flowchart that can be used to create a program which issues penalties in a football march. If the "foul" is not severe then it issues a "yellow card" if the "foul" is severe, then it issues a "red card" else no "card issued"
Q5
Write pseudocodes for the flowcharts shown from the questions above