Ques 1 Variable
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)