Computer Science, asked by adhvaithjaishankar, 8 months ago

Write a java expression for X = abc + b³ + c

Answers

Answered by krishna6423
0

int x;

x = a*b*c + (int) Math.pow(b,3) + c ;

Answered by MissSolitary
1

 \boxed{ \red{ \underline  \textbf{Your \: Answer ↷}}}

 \blue{ \sf \: X  = abc +  {b}^{3}  + c}

 \implies \sf \: X =  {a}^{*}  {b}^{*}  {c} +  {b}^{*}  {b}^{*} b + c; \\   \sf \: or \\  \implies \sf \: X = {a}^{*}  {b}^{*}  {c} + Math.pow(b,3) + c;

___________________________

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