int a=11,b=2;,执行下述程序段后,输出结果为__________.do a/=b++; while (a>b);printf ("%d,%d\n",a,b);
来源:学生作业帮助网 编辑:作业帮 时间:2024/09/03 03:19:21
![int a=11,b=2;,执行下述程序段后,输出结果为__________.do a/=b++; while (a>b);printf (](/uploads/image/z/10135712-56-2.jpg?t=int+a%3D11%2Cb%3D2%3B%2C%E6%89%A7%E8%A1%8C%E4%B8%8B%E8%BF%B0%E7%A8%8B%E5%BA%8F%E6%AE%B5%E5%90%8E%2C%E8%BE%93%E5%87%BA%E7%BB%93%E6%9E%9C%E4%B8%BA__________.do+a%2F%3Db%2B%2B%3B+while+%28a%3Eb%29%3Bprintf+%28%22%25d%2C%25d%5Cn%22%2Ca%2Cb%29%3B)
x)+QH54I5yֹ';_|E]m}:OžOw==ټ9Ov슇|D}$mmk̜TD$M"i
J):)1yJ::@a"}b.lyٚOz,4HiD[S-ۀvyvɳےlv`33Ģ!>11/.H̳
int a=11,b=2;,执行下述程序段后,输出结果为__________.do a/=b++; while (a>b);printf ("%d,%d\n",a,b);
int a=11,b=2;,执行下述程序段后,输出结果为__________.
do a/=b++; while (a>b);
printf ("%d,%d\n",a,b);
int a=11,b=2;,执行下述程序段后,输出结果为__________.do a/=b++; while (a>b);printf ("%d,%d\n",a,b);
第一次循环
a/=2,即a=5,然后b++,此时b=3
第二次循环
a/=3,即a=1,然后b++,此时b=4
结束循环,输出1,4