Question 4: Write the output of the codes given below:
(a) double df = Math.floor (23.35); double dc = Math.ceil ( 23.35 );
System.out.print(" DF = " + df + " DC = " + dc );
Answers
Answered by
1
Answer:
DF = 23.0 DC = 24.0
Step-by-step explanation:
df = Math.floor(23.35);
= 23.0
dc = Math.ceil(23.35)
= 24.0
Similar questions