Which smallest number is printed from the above numbers(5,5,10)? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Which smallest number is printed from the above numbers(5,5,10)?

I am confused about it. Both numbers are smallest so which number is printed 1st or 2nd(5). And why both numbers are not printed.

1st Feb 2019, 5:13 PM
Nitin Gutte
Nitin Gutte - avatar
1 Answer
+ 6
Depends on the implementation of the algorithm that checks for the smallest number
1st Feb 2019, 6:53 PM
Anna
Anna - avatar