Here is the function:
double celsius(double f)Here is the driver program:
{
return 5. / 9. * (f - 32);
}
#include
double celsius(double);
int main()
{
double f;
for(f = -40; f <= 220; f = f + 10)
printf("%f\t%f\n", f, celsius(f));
return 0;
}
Here is the function:
double celsius(double f)Here is the driver program:
{
return 5. / 9. * (f - 32);
}
#include
double celsius(double);
int main()
{
double f;
for(f = -40; f <= 220; f = f + 10)
printf("%f\t%f\n", f, celsius(f));
return 0;
}
If you face any Problem in viewing code such as Incomplete "For Loops" or "Incorrect greater than or smaller" than equal to signs then please collect from My Web Site CLICK HERE
More Useful Topics... |
|
No comments:
Post a Comment