Sunday, 15 September 2013

I need to write an algorithm in Java language to find the second smallest value among a,b and c

I need to write an algorithm in Java language to find the second smallest
value among a,b and c

I have been wondering how to do this correctly for a while. I understand
how to find the smallest and largest but I can't find second smallest to
save my life.

No comments:

Post a Comment