Write a java expression for X = abc + b³ + c
Answers
Answered by
0
int x;
x = a*b*c + (int) Math.pow(b,3) + c ;
Answered by
1
___________________________
Extra information -
=> Math.pow is a special function in Java in which we can get the value increased to the the number in its power by writing this function.
__________________________
@MissSolitary✌️
________
Similar questions