Design an algorithm that compare three numbers and display the smallest to the screen?

User Icon for oobleck oobleck answered
3 years ago

display a if a<b and a<c

display b if b<a and b<c
display c if c<a and c<b
...
what if there is no single smallest value?