Computer Science, asked by exammonster, 3 months ago

Write the corresponding expressions a2+b2 (Java)

Answers

Answered by atrs7391
1

\textsf{\textbf{\underline{\LARGE{Given Expression:}}}}

{\texttt{a}^{\texttt{2}} \texttt{ + } \texttt{b}^{\texttt{2}}}

\textsf{\textbf{\underline{\LARGE{Java Expression:}}}}

\texttt{(a*a) + (b*b)}

        \texttt{\Large{\underline{OR}}}

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

Similar questions