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.

{a+b+abs(a-b)}/2
Also, {a+b-abs(a-b)}/2 is the smaller one in {a,b}