Task
Create a flowchart algorithm which prompts the user to enter 3 numbers and outputs the average of the numbers.
Guided Solution
First, let us use an IPO Table:
Input | Processing | Output |
Three Numbers num1, num2, num3 | average=(num1+num2+num3)/3 | average |
After considering what needs to be done, we see that we need 4 variables
Solution in flowgorithm:
© 2020 Vedesh Kungebeharry. All rights reserved.
[…] https://islandclass.wordpress.com/2020/11/02/flowchart-practise-finding-the-average-of-3-numbers/ […]
LikeLike