English

Write Down Java Expression For: "T" = Sqrt("A"^2 + "B"^2 + "C"^2)

Advertisements
Advertisements

Question

Write down java expression for:

`"T" = sqrt("A"^2 + "B"^2 + "C"^2)`

Short/Brief Note
Advertisements

Solution

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

shaalaa.com
Introduction of Operators in Java
  Is there an error in this question or solution?
2015-2016 (March)

APPEARS IN

Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×