program to round-off a given floating point value code example
Example: c round function
#include <math.h>
double round(double x);
float roundf(float x);
long double roundl(long double x);
#include <math.h>
double round(double x);
float roundf(float x);
long double roundl(long double x);