Tuesday, November 8, 2011

Write algorithm (not in c++):-Find the smallest number from a set of three given numbers?

You could actually do this in one line of code using a couple ternary operators in Java or C#, or anything that supports ( ? : )

No comments:

Post a Comment