Draw a flowchart to find out smallest number from given three numbers.
Answers
Answered by
3
- Declare three variable a, b, c
- Compare a with b and c. If a is smaller than b and c than a is smallest among three numbers.
- Compare b with a and c. if b is smaller than a and c than b is smallest among three numbers.
- Else c is smallest among three numbers.
Attachments:
Similar questions