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

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.

To draw a flowchart to find the maximum, minimum, sum, and average of 3 numbers, you can follow these steps:

1. Start: Begin the flowchart by adding a "Start" symbol.
2. Input: Add a symbol for input to prompt the user to enter the 3 numbers.
3. Assign: Create a symbol to assign the entered numbers to variables (e.g., A, B, C).
4. Compare: Use a decision symbol to compare the values of A, B, and C to find the maximum number.
- Create an arrow pointing to the right labeled "A > B and A > C?" leading to a "Yes" or "No" decision symbol.
- If the condition is true (A > B and A > C), create an arrow pointing down from "Yes."
- If the condition is false, create an arrow labeled "B > C?" leading to a decision symbol.
- If this second condition is also true, create an arrow pointing down from "Yes."
- If the second condition is false (which means C is the maximum), create an arrow pointing to the left.
5. Output: Add a symbol to display the maximum value.
- Connect a line from the downward arrow (representing the maximum value) to an output symbol labeled "Maximum."
6. Repeat steps 4 and 5 for finding the minimum value.
7. Sum: Add symbols to calculate the sum of the three numbers.
- Use a process symbol to add A, B, and C together.
8. Output: Add a symbol to display the sum.
- Connect a line from the "Sum" symbol to an output symbol labeled "Sum."
9. Average: Add a symbol to calculate the average of the three numbers.
- Use a process symbol to divide the sum by 3 (or use a constant if the number of values is fixed).
10. Output: Add a symbol to display the average.
- Connect a line from the "Average" symbol to an output symbol labeled "Average."
11. End: Add an "End" symbol to indicate the end of the flowchart.

Remember to use appropriate symbols, arrows, and labels as per the flowchart standards.

Note: The specific shape of symbols and arrows may vary based on the tool you are using to draw the flowchart.