A

Admin • 828.03K Points
Coach

Q. Which of these functions should I use to round 2.5 to 2?

  • (A) pow
  • (B) ceil
  • (C) floor
  • (D) sqrt
  • Correct Answer - Option(C)
  • Views: 8
  • Filed under category C Programming
  • Hashtags:

Explanation by: Admin
In C, “ceil” function used to round up and “floor” function used to round down.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.