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,
19 days ago
Math,
19 days ago
English,
1 month ago
Math,
1 month ago
Hindi,
8 months ago