Computer Science, asked by roshan6175, 8 hours ago

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 MichMich0945
3

Output:

  1. 27.0
  2. 9.0
  3. 3.0
  4. 5.0
  5. 4.0
  6. -4.0
  7. -8.0
  8. 4.0
  9. -5.0
  10. 20.0
  11. 20.0
  12. 4
  13. 4
  14. -4
  15. -5
  16. 4.0
  17. 4.0
  18. 6
  19. -5.0
  20. -8.0

Hope this helps you <3

Similar questions