Write java expression: p= (a2
+b3
)
Answers
Answered by
3
Answer:
Java expression for:
- Two ways to write it...
- p=(a*a) +(b*b*b) ;
- p=Math.pow(a, 2) +Math.pow(b,3);
Remember:-
- Pow() returns in double and is used for number raised to power other number
Answered by
1
Similar questions