输入一个华氏温度,要求输出摄氏温度。计算公式为: c=5/9(F-32),以下程序正确的是()
A.
B. include<stdio.h>void main(){ float c,F; scanf("%f,%f",&c,&F); c=5/9*(F-32); printf("摄氏温度是:%f\n",c);}
C. B.
D. include<stdio.h>void main(){ float c,F; scanf("%f,%f",&c,&F); c=5*(F-32)/9; printf("摄氏温度是:%f\n",c); }
E. C.
F. include<stdio.h>void main(){ float c,F; scanf("%f,%f",&c,&F); c=5%9*(F-32); printf("摄氏温度是:%f\n",c); }
G. D.
H. include<stdio.h>void main(){ float c,F; scanf("%f,%f",&c,&F); c=5.0/9.0(F-32); printf("摄氏温度是:%f\n",c); }