Math h C Tutorial

Item Value
Header filemath.h
Declarationfloat ceilf(float num);double ceil(double num);long double ceill(long double num);
Returnreturns the smallest integer not less than num.
Given 1.02, ceil() would return 2.0.
Given -1.02, ceil() would return -1.

#include 
  #include 
  int main(void)
  {
    printf("%f", ceil(9.9));
   
  }
10.000000