//将摄氏温度转换为华氏温度
#include<stdio.h>
void main()
{
float hua,sheshi;
float lower=0.0,higher=300.0; //
float step=20.0;
printf("摄氏温度转华氏温度表\n");
sheshi=lower;
while(sheshi<=higher)
{
hua =9.0*sheshi/5+32.0;
printf("%3f\t%.2f\n",sheshi,hua);
sheshi+=step;
}
}