मराठी

Write the Java expression to find the sum of cube root of x and the absolute value of y. - Computer Applications

Advertisements
Advertisements

प्रश्न

Write the Java expression to find the sum of cube root of x and the absolute value of y.

लघु उत्तर
Advertisements

उत्तर

Math.cbrt(x) + Math.abs(y);

For example: double result = Math.cbrt(x) + Math.abs(y);

Here, Math.cbrt(x) returns the cube root of x and Math.abs(y) returns the absolute value of y.

shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
2025-2026 (March) Official Board Paper
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×