Write an algorithm to find the smallest of three nbers
Answers
Answered by
0
Answer:
Algorithm to find smallest of 3 numbers
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.
Answered by
2
Answer:
Algorithm to find smallest of 3 numbers
•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.
Similar questions