Ques 1 Maths
Which of the following options correctly represents the Java 10 math function for rounding a floating-point number to the nearest integer?
a) Math.floor(x)
b) Math.ceil(x)
c) Math.round(x)
d) Math.abs(x)
c is the correct option