输入一个华氏温度,要求输出摄氏温度。计算公式为: c=5/9(F-32),以下程序正确的是()
A.
B. includevoid main(){ float c,F; scanf("%f,%f",&c,&F); c=5/9*(F-32); printf("摄氏温度是:%f\n",c);}
C. B.
D. includevoid main(){ float c,F; scanf("%f,%f",&c,&F); c=5*(F-32)/9; printf("摄氏温度是:%f\n",c); }
E. C.
F. includevoid main(){ float c,F; scanf("%f,%f",&c,&F); c=5%9*(F-32); printf("摄氏温度是:%f\n",c); }
G. D.
H. includevoid main(){ float c,F; scanf("%f,%f",&c,&F); c=5.0/9.0(F-32); printf("摄氏温度是:%f\n",c); }
有以下程序#includevoid main(){int a=2,b=2,c=2;printf("%d\n",a/b&c);}程序运行后的输出结果是()
A. 0
B. 1
C. 2
D. 3