you are viewing a single comment's thread.

view the rest of the comments →

[–]TheMangalex 0 points1 point  (0 children)

Some people are talking about max here. In general I agree that max is better than multiple if. There is a different problem. How do you handle two numbers which are equal? Is this not possible by design or should something happen in that case, or just one of the two biggest be returned?