We want to round off x, a float to an int value, the correct way to do is
Answers
Answered by
2
The correct way to do is : y = (int)(x + 0.5).
Similar questions
English,
8 months ago