-->
当前位置:首页 > 题库 > 正文内容

Multiple choice:Assuming that a and B are int type variables, the value of B after executing the following statement is:

Luz3年前 (2021-05-10)题库283
Assuming that a and B are int type variables, the value of B after executing the following statement is: @ [D] (2)
```
a=1; b=10;
do
{
b-=a;
a++;
}while (b--<0);
```
A. 9
B. -2
C. -1
D. 8




A.9
B.-2
C.-1
D.8


answer:D

发表评论

访客

◎欢迎参与讨论,请在这里发表您的看法和观点。