What will be the output of following?
(a) System.out.println(Math.sqrt(Math.abs(-36)));
Ans.
(b) System.out.println(Math.cbrt(-125));
Ans.
(c) System.out.println(Math.sqrt(-81));
Ans.
(d) int a=4;
System.out.println(Math.pow(a,a));
Ans.
(e) System.out.println(Math.ceil(-1.03)+Math.ceil(2.12));
Ans.
(f) System.out.println(Math.floor(-0.005)+Math.floor(17.99));
Ans.
(h) double x=12.999, y= -13.11, z=-9.5;
System.out.println(Math.round(x)-Math.round(y) + Math.round(z));
Ans.
Answers
Answered by
0
Answer:
s i will tell the answer but make me as a brainlist
Explanation:
Similar questions