Math, asked by venus2596, 1 year ago

We want to round off x, a float to an int value, the correct way to do is

Answers

Answered by siddhartharao77
2
The correct way to do is : y = (int)(x + 0.5).


Similar questions