50.5k views
3 votes
The floor function maps any number to the greatest integer that is _[blank]_ the number.

Which phrase correctly fills in the blank of the previous statement?


A.) greater than

B.) greater than or equal to

C.) less than or equal to

D.) less than

1 Answer

4 votes

Answer:

C. Less than or equal to

Explanation:

The floor function is a function used to return an integer value that is great than the input number.

More often than not, the input number is a real number.

Take for instance.

Floor(3.2).

Going by the explanation above, the result of this will be 3

How about floor(-3.2)

The result of this will be -4.

This is so because -4 is less than or equal to -3.2.

User Jrkt
by
3.7k points