Algorithm among three largest numbers
Answers
Answered by
6
Answer:
Step 1:start
step 2:input a, b, c
step 3:if a>bgo to step 4,otherwise go to step 5
step 4:if a>c go to step 6,otherwise go to step 8
step 5:ifb>c go to step 7,otherwise go to step 8
step 6:output "a is the largest ",go to 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
I hope it helps u....
Similar questions