C:输出华氏-摄氏温度转换表;
#include <stdio.h>
int main(void){
int fahr, lower, upper;
float celsius;
printf("Enter lower:");
scanf("%d",&lower);
printf("Enter upper");
scanf("%d",&upper);
if(lower<=upper){
printf("farh celsius");
for(farh=lower;farh<=upper;farh++){
celsius=(5.0/9.0)*(farh-32);
printf("%f%fn");
}else
printf("Invalid Value");
return 0;
}