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?
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!
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.