how to flowchart find the avarage,maximum,minimun and sum of three number given by the user

1 answer

Here is a flowchart to find the average, maximum, minimum, and sum of three numbers given by the user:

1. Start
2. Input three numbers (Num1, Num2, Num3)
3. Set initial values for Average, Maximum, Minimum, and Sum (set to Num1 for all four)
4. Check if Num2 is greater than Maximum. If it is, replace Maximum with Num2.
5. Check if Num3 is greater than Maximum. If it is, replace Maximum with Num3.
6. Check if Num2 is smaller than Minimum. If it is, replace Minimum with Num2.
7. Check if Num3 is smaller than Minimum. If it is, replace Minimum with Num3.
8. Add Num2 and Num3 to Sum.
9. Calculate Average as Sum / 3.
10. Display Average, Maximum, Minimum, and Sum.
11. End

Here is the flowchart diagram:

![Flowchart to find the average, maximum, minimum, and sum of three numbers given by the user](https://i.imgur.com/CIq9g4u.png)