Computer Science, asked by rohaildvs30, 3 months ago

write an algorithm and draw a flowchart to find largest of 3 numbers

Answers

Answered by rakeshkumar542008
6

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 step 8

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 :

Similar questions