Write an
algorithm and draw a flow chart to accept three numbers and display the smallest number.
Answers
Answered by
1
Answer:
Algorithm to Find the Smallest of three Numbers
1. Declare three variable a, b, c.
2. Compare a with b and c. If a is smaller than b and c than a is smallest among three numbers.
3. Compare b with a and c. if b is smaller than a and c than b is smallest among three numbers.
4. Else c is smallest among three numbers.
Explanation:
Attachments:
Similar questions