Computer Applications

Write the java statement for:

The remainder when x is divided by y, multiplied by cuberoot of z.

Java Math Lib Methods

2 Likes

Answer

(x % y) * Math.cbrt(z);

Reasonx % y computes the remainder when x is divided by y. Math.cbrt(z) calculates the cube root of z.

Answered By

2 Likes


Related Questions