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
