Computer Science, asked by tanishkasingh098, 6 months ago

Math.rint(3.7) will return *


Answers

Answered by Oreki
2

Answer:

4.0

Explanation:

As Math.rint() returns the double value that is closest in value to the passed argument which is also equivalent to a mathematical integer.

Answered by anindyaadhikari13
2

\star\:\:\:\sf\large\underline\blue{Question:-}

  • Write the output of the following code.

\star\:\:\:\sf\large\underline\blue{Output:-}

Given code,

Math.rint(3.7);

The output for the given code will be,

4.0

Similar questions