Write the java statement for:
The remainder when x is divided by y, multiplied by cuberoot of z.
1 Like
(x % y) * Math.cbrt(z);
Reason — x % y computes the remainder when x is divided by y. Math.cbrt(z) calculates the cube root of z.
x % y
x
y
Math.cbrt(z)
z
Answered By
The output of the following code is:
System.out.println(Math.ceil(6.4) + Math.floor(-1-2));
What is the output of Math.ceil(5.4)+Math.ceil(4.5)?