Write java expression of A2+b3+c4
Answers
Answered by
5
Question:-
Write the java expression for the following.
Answer:-
Given expression,
The java expression for the following will be,
Math.pow(a, 2)+Math.pow(b,3)+Math.pow(c,4);
Math.pow(x, y) is used to return x raised to the power y. Resultant data type will be double always.
Answered by
2
Similar questions