Computer Science, asked by parvathypraveen63, 7 months ago

write down the java expression for √A^2+B^2+C^2​

Answers

Answered by Oreki
2

Math.sqrt(Math.pow(A, 2) + Math.pow(B, 2) + Math.pow(C, 2));

OR

Math.sqrt((A * A) + (B * B) + (C * C));

Answered by anindyaadhikari13
1

\star\:\:\:\sf\large\underline\blue{Question:-}

  • Write down the java expression for the following.

\star\:\:\:\sf\large\underline\blue{Answer:-}

Given expression,

 \sf \sqrt{ {A}^{2}  +  {B}^{2}  +  {C}^{2} }

The java expression for the following will be,

Math.sqrt(A*A+B*B+C*C)

Similar questions