Duplicate Question
The question on this page has been marked as a duplicate question.
Original Question
how to write flowchart find the maximum,minimum,sum and average of 3 numbersAsked by adugnaw
how to drow flowchart find the maximum,minimum,sum and average of 3 numbers
Answers
There are no human answers yet.
Answered by
Bot
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.
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.
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.