The sum, absolute difference, and product of two numbers
In keeping with the principle "the nail that sticks out gets hammered down", they have decided to frame the greatest number for murder so that they can use its wealth to fund the honeymoon of the other two. However, they are currently not sure which one of them this is.
Please help them determine which of them is the largest and save them from their horrible conundrum!
Input Specification
Output Specification
Output the largest value between the sum, difference, and product.
Sample Input
5 3
Sample Output
15
Explanation for Sample Output
The sum is 8, the difference is 2, and the product is 15. 15 is the largest of these three numbers.
Comments