write an algorithm and draw a flowchart to find greater number among four different number
Answers
Answered by
2
Answer:
Algorithm : a
Step 1 : Start
Start 2 : Input a, b, c
Start 3 : if a > b goto step 4, otherwise goto step 5
Start 4 : if a > c goto step 6, otherwise goto step 8
Start 5 : if b > c goto step 7, otherwise goto step8
Start 6 : Output "a is the largest", goto step 9
Start 7 : Output "b is the largest", goto step 9
Start 8 : Output " c is the largest", goto step 9
Start 9 : Stop
Flowchart :
Explanation:
HOPE THIS WILL HELP U MATE....
MARK ME AS BRAINLIEST ✌️
Attachments:
Answered by
0
Explanation:
Step 1 : Start.
Start 2 : Input A, B, C.
Start 3 : Let max = A.
Start 4 : if B > max then max = B.
Start 5 : if C > max then max = C.
Start 6 : Output max is largest.
Start 7 : Stop.
please mark me brainlist
Similar questions