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