Computer Science, asked by Rik3026, 5 months ago

if the java expression of ab+bc+ca=a*b+b*c+c*a, then what is the java expression of (a+b)^n
plz if u know the answers then only write anything . don't write rubbish​

Answers

Answered by BrainlyProgrammer
1

Answer:

Math.pow((a+b),n);

mark all my answers brainliest brother

Answered by anindyaadhikari13
1

Question:-

  • Write the java expression for the following.

Solution:-

Given expression,

 \sf {(a + b)}^{n}

The java expression will be,

Math.pow(a+b, n);

Math.pow(x, y) is used to return x raised to the power y.

Similar questions