Write a Java Expression for the Following : Ax5 + Bx3 + C
Advertisements
Question
Write a Java expression for the following :
ax5 + bx3 + c
One Line Answer
Advertisements
Solution
a.Math.pow(x,5) + b.Math.pow(x,3) +c;
shaalaa.com
Introduction of Operators in Java
Is there an error in this question or solution?
