单选题 C语言
题号 #149367

有如下程序 
main() 
{float x=2.0,y; 
if(x<0.0)y=0.0; 
else if(x<10.0)y=1.0/x; 
else y=1.0; 
printf("%f\n",y);} 
该程序的输出结果是

进入在线模考

参考答案

C

答案解析

暂无解析

你可能感兴趣的试题

A.int i=100; 
while(1) 
{i=i0+1; 
if(i>100)break;  
} 
B.for(;;); 
C.int k=10000; 
do{k++;}while(k>10000); 
D.int s=36;while(s)--s;
找试题 · 找答案 · 找资料 在线模考