Create Function Puzzle Solution - 16 August
There are two variables x and y. Jimmy is required to construct a function f(a,b) which returns the maximum one in {a,b}.
You can only use +,-,., / & abs() (to take the absolute value). NO if () is allowed in to jimmy.
Solve this one, math freaks.
Update Your Answers at : Click Here
Solution{a+b+abs(a-b)}/2
Also, {a+b-abs(a-b)}/2 is the smaller one in {a,b}
Will be update in one day