Computer Science, asked by madhusingh1809, 9 months ago

Write the java expression for the following:
(a + b)² + b

Answers

Answered by Oreki
8

\textsf{\large \textbf{Given Expression}}

   (a + b)^2 + b

\textsf{\large \textbf{Java Expression}}

   \texttt{Math.pow(a + b, 2) + b;}

Answered by azamele54
2

Answer:

Math.pow ( a + b , 2 ) + b

Explanation:

hope this will help

Similar questions