//Example of math stuff
#include <stdio.h>
#include <math.h>
int main()
{
int a, b;
int c;
float f;
// actual initialization
a=10;
b=20;
c=a+b;
printf("Value of c %d \n", c);
f = 70.0/3.;
printf("Value of f: %f \n", f);
}
No comments:
Post a Comment