1 #include <math.h>
2
3 double round(double x);
4 float roundf(float x);
5 long double roundl(long double x);
1 #include <stdio.h>
2#include <math.h>
3 int main()
4{
5 float i=5.4, j=5.6;
6 printf("round of %f is %f\n", i, round(i));
7 printf("round of %f is %f\n", j, round(j));
8 return 0;
9}
10