Ϊʲô˵ tem û¶¨Òå°¡£¿°ïÎҸĸİɣ¿
#include <math.h>#include <stdio.h>
main()
{
float f;
double c;
printf("ÇëÊäÈëf: ");
scanf("%f",&f);
c=tem(f);
printf("c=%f",c);
}
double tem(float f)
{
double c;
c=(5/9.0)*(f-32);
return (c);
}
2014-04-24 20:05

2014-04-24 20:35