题解 | #温度转换#
温度转换
http://www.nowcoder.com/practice/ba83647087b7447783fa2384da6b3d44
int main()
{
double f = 0.0;
while(1)
{
scanf("%lf",&f);
if(f >= 1 && f <= 100000)
break;
}
double c = 5.0/9*(f-32);
printf("%.3lf",c);
}