The function Math.oor(5.75) will
return :
a. 5.0 b. 6.0
c. 5.5 d. None of these
Answers
Answered by
0
Answer: (A) 5.0
Explanation:
Assuming you asked about the function math.floor
it is used to get the largest integer type value that is either equal to or less than that of the argument provided
so if you were to put an argument of 99.99
it would round it give 99 as output because 99 is the closest integer value which is less than itself
similarly, giving an integer number will give the same exact number as the result
for example, the result of 34 as input will be 34 (which in this case is equal to the result)
The result for the function cannot be higher than the argument provided by the user
Similar questions