can anyone give the answers
1. System.out.println(Math. pow(3,3));
2. System.out.println(Math. sqrt(81));
3. System.out.println(Math. cbrt(27));
4. System.out.println(Math. ceil(4.5));
5. System.out.println(Math. ceil(3.3));
6. System.out.println(Math. ceil(-4.3));
7. System.out.println(Math. ceil(-8.3));
8. System.out.println(Math. floor(4.3));
9. System.out.println(Math. floor(-4.3));
10. System.out.println(Math. ceil(20.0));
11. System.out.println(Math. floor(20.0));
12. System.out.println(Math. round(3.7));
13. System.out.println(Math. round(4.3));
14. System.out.println(Math. round(-4.5));
15. System.out.println(Math. round(-4.7));
16. System.out.println(Math. abs(-4.0));
17. System.out.println(Math. abs(4.0));
18. System.out.println(Math. max(4,6));
19. System.out.println(Math. min(4.0,-5.0));
20. System.out.println(Math. rint(-8.3));
Answers
Answered by
3
Output:
- 27.0
- 9.0
- 3.0
- 5.0
- 4.0
- -4.0
- -8.0
- 4.0
- -5.0
- 20.0
- 20.0
- 4
- 4
- -4
- -5
- 4.0
- 4.0
- 6
- -5.0
- -8.0
Hope this helps you <3
Similar questions