请阅读以下程序:include <stdio.h> main() {float a,b; scanf("%f",&a); if(a<0.0) b="0.0;" else printf("%f\n",b); }>,则上面程序的输出结果是 。

A.0.000000 B.0.500000 C.1.000000 D.0.250000

时间:2024-01-24 16:12:47

相似题目