Computer Science, asked by angel1211, 8 months ago

1. Predict the output-


System.out.println(Math.rint(98.4));

System.out.println(Math.round(-89.98));

please answer this correctly... I'm gonna mark them as brainliest.​

Answers

Answered by YAJVIN09
1

Answer:

1. 98

2. -90

Explanation:

round function and integer function

Answered by daringman100
0

Answer:

Math.rint output= 98.0

Math.round output = -90

hope you got your answer.

Similar questions