a^2 + b2 convert into java expression
Answers
Answered by
1
Answer:
int i,a,b;
i=(a*a)+(b*b);
OR
i=Math.pow(a,2)+Math.pow(b,2);
Similar questions