20 Likes
Math.pow((a + b), 2) / (a * b)
Answered By
11 Likes
Rewrite the snippet using Ternary operators:
if(a<b) { c=(a+b); } else { c=(a-b); }