|
-
Mar 26th, 2012, 04:35 AM
#1
Thread Starter
Lively Member
Puzzle
Assume you have a method "SAMPLE" which accepts 3 integer parameters namely VALUE1, VALUE2 & VALUE3 and return an integer value which will be the product of the top 2 bigger values (out of the 3 input parameters).
Note : Try out an one line logic for this method, which shouldn’t use if else / ternary / max functions??.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|