#include<stdio.h>
#include<math.h>
int main()
{
double C,F;
while(scanf("%lf",&C)!=EOF)
{
F=9.00/5*C+32;
printf("摄氏度c = %.2f时,华氏度f =%.2f\n",C,F);
printf("\n");
}
return 0;
}
标签:lf,task2,%.,华氏度,2f,printf,include
来源: https://www.cnblogs.com/hezroy/p/16062661.html