Write a pseudo code + Draw Flowchart that find the biggest of three (3) Numbers
Question
Write a pseudo code + Draw Flowchart that find the biggest of three (3) Numbers
Solution
Sure, here is a simple pseudocode for finding the biggest of three numbers:
1. Start
2. Input number1, number2, number3
3. If number1 > number2 and number1 > number3 Then
4. Print number1 is the biggest
5. Else If number2 > number1 and number2 > number3 Then
6. Print number2 is the biggest
7. Else
8. Print number3 is the biggest
9. End If
10. Stop
And here is a simple flowchart:
Start
|
V
Input number1, number2, number3
|
V
number1 > number2 and number1 > number3?
| |
Yes No
| |
V V
Print number1 is number2 > number1 and number2 > number3?
the biggest | |
Yes No
| |
V V
Print number2 is Print number3 is
the biggest the biggest
| |
V V
End End
Similar Questions
Draw a flowchart to find smallest of the three numbers entered by User
Flowchart for finding the greatest of three numbers in python
Write a pseudo code + Draw Flowchart that calculates the average of 3 numbers.
Write an algorithm and draw a flowchart to find greatest common divisor and smallest common divisor of two given positive number.
Construct a Pseudocode to take three numbers and print largest and smallest among them.
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.