Given the following program, when the data 3.6 2.4
is keyed in, the printed output is( ) #include
#include
main() { float x, y, Z; scanf(“%f%f”, &x,&y) z=x/y; while(l) { if(fabs(z) > 1.0) {x=y; y=z; z=x/y;} else break; } printf(“%f\n”, y); }
A.
1.5
B.
1.6
C.
2
D.
2.4
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【单选题】-The radio says it will rain next Sunday. - ,we're going for a picnic that day. [ ]