Asked by Tasu

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

Answers

Answered by oobleck
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?
There are no AI answers yet. The ability to request AI answers is coming soon!

Related Questions