Computer Science, asked by parthjain12, 2 days ago

write the output of the following math function math.ceiling(67.35)​

Answers

Answered by Anonymous
2

math.ceil(67.35)

Output:

68.0

Always keep in mind, that the function math.ceiling(n), where n is a float, will always give the number succeeding to n.

For example:

math.ceil(56.73) will return 57.0 .

math.ceil(33.02) will return 34.0 .

math ceil(10.0) will return 10 .

As we know what ceiling and a floor is, in a room. Ceiling is the top wall (as the succeeding number) and floor is the bottom wall (as the preceding number).

For example:

math.floor(56.73) will return 56.0 .

math floor(33.02) will return 33.0 .

math.floor(10.0) will return 10.0 .

Similar questions