Q. The correct way to round off a floating number x to an integer value is
β
Correct Answer: (B)
y = (int) (x + 0.5)
You must be Logged in to update hint/solution