how to drow flowchart find the maximum,minimum,sum and average of 3 numbers

1 answer

1. Start
2. Input three numbers (num1, num2, num3)
3. Set max = num1
4. Set min = num1
5. Set sum = num1
6. If num2 > max, then set max = num2
7. If num3 > max, then set max = num3
8. If num2 < min, then set min = num2
9. If num3 < min, then set min = num3
10. Add num2 to sum
11. Add num3 to sum
12. Set average = sum / 3
13. Output max, min, sum and average
14. End.