Horje
round function in C Code Example
round function in C
 #include <stdio.h>
#include <math.h>
 int main()
{
       float i=5.4, j=5.6;
       printf("round of  %f is  %f\n", i, round(i));
       printf("round of  %f is  %f\n", j, round(j));
       return 0;
}




C

Related
rounding decimal number in C Code Example rounding decimal number in C Code Example
how to reverse a string in c Code Example how to reverse a string in c Code Example
How to make a printf in c Code Example How to make a printf in c Code Example
array reference argument Code Example array reference argument Code Example
celsius to fahrenheit formula Code Example celsius to fahrenheit formula Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
7