Question 5: What will be the following functions display(output):
[10
1) System.out.println(Math.ceil(10));
2) System.out.println(Math.min(Math.floor(x),y]); if x= 2.9 and y- 2.5
3) System.out.println(Math.rint (Math.abs(b)); if b=-15.6.
4) System.out.println(
Math.max(-17,-19));
5) System.out.println(Math.pow(4,3));
Answers
Answered by
8
Output:
Similar questions
Business Studies,
3 months ago
Economy,
3 months ago
Accountancy,
7 months ago
English,
7 months ago
Computer Science,
1 year ago
Math,
1 year ago