Give the output of the following :
double m= 6.25;
double n= 7.45;
System.out.println(Math.ceil(m));
System.out.println(Math.rint(n));
Answers
Answered by
1
Answer:
double m= 6.25;
double n= 7.45;
System.out.println(Math.ceil(m));// answer is:7.00
System.out.println(Math.rint(n));/answer is:7.00
Explanation:
Similar questions
Social Sciences,
1 month ago
Math,
1 month ago
English,
2 months ago
Math,
2 months ago
Hindi,
10 months ago