#include<stdio.h>
main()
{
float c=0,f;
for(f=0;f<=300;f+=10)
{
c=0;
c=(5.0/9.0)*(f-32);
printf("%.3f\n",c);
}
return 0;
}
知识点 对float的熟悉
心得体会 要写会使用float
#include<stdio.h>
main()
{
float c=0,f;
for(f=0;f<=300;f+=10)
{
c=0;
c=(5.0/9.0)*(f-32);
printf("%.3f\n",c);
}
return 0;
}
知识点 对float的熟悉
心得体会 要写会使用float