【单选题】【消耗次数:1】
如果整型变量c,d的值分别为6和9,则下列语句中ForI=ctodstep-3:PrintI:NextI循环体的执行次数是()。
6
9
4
0
参考答案:
复制
纠错
相关题目
【单选题】 d的值分别为10和5,则下列语句中ForI=ctod:PrintI:NextI循环体的执行次数是()。
①  6
②  5
③  1
④  0
【单选题】 在下面循环语句中循环体执行的次数为() for(int i=0; in/2) break;
①  n/2
②  n/2+1
③  n/2-1
④  n-1
【单选题】 在下面循环语句中循环体执行的次数为()。 for(int i=0; in/2) break;
①  n/2
②  n/2+1
③  n/2-1
④  n-1
【单选题】 在下面循环语句中循环体执行的次数为(????) for(int i=0; in/2) break;
①  n/2
②  n/2+1
③  n/2-1
④  n-1
【单选题】 在下面循环语句中循环体执行的次数为()。 for(int i=0; in/2) break;
①  n/2
②  n/2+1
③  n/2-1
④  n-1
【单选题】 在下面循环语句中循环体执行的次数为() int i=0; do i++; while(i*i
①  4
②  3
③  5
④  2
【单选题】 在下面循环语句中循环体执行的次数为()。 int i=0; do i++; while(i*i
①  4
②  3
③  5
④  2
【单选题】 在下面循环语句中循环体执行的次数为()。 int i=0; do i++; while(i*i<10);
①  4
②  3
③  5
④  2
【单选题】 在下面循环语句中循环体执行的次数为(????) ?int i=0; do i++; while(i*i<10);
①  4
②  3
③  5
④  2
【单选题】 在下面循环语句中循环体执行的次数为()。 int i=0,s=0; while(s<20) {i++; s+=i;}
①  4
②  5
③  6
④  7
随机题目
【单选题】 No one thought that John’s suggestion was worth ____.?
①  ?to consider ?
②  considering ?
③  to be considered ?
④  of consideration?
【单选题】 We must ____ that our customs and habits are different from theirs.
①  keep up with
②  bring forward
③  keep in mind
④  come true
【单选题】 20. Only when he had handed in his exam paper ____ he had made several mistakes.
①  he has realized
②  does he realize
③  has he realized
④  did he realize
【单选题】 People’s hearts ____ the children whose parents died in the accident.
①  went out for
②  went out with
③  went out to
④  went out of
【单选题】 A sudden idea ____ to him that he might try the new method.
①  occurred
②  happened
③  took place
④  took part
【单选题】 We often get ____ when people cut in line.
①  annoying
②  annoyed
③  to annoy
④  annoy
【单选题】 “Can I help you?” “Well, I’m afraid the box is too heavy for you, ____ thank you all the same.”
①  and
②  so
③  but
④  or
【单选题】 A guest arrived ____ I was doing my housework.
①  during
②  although
③  as though
④  while
【单选题】 —OK, $ 500, but that is my last offer. —____.?
①  Good idea! ?
②  What did you say??
③  Oh, its up to you. ?
④  OK. Its a deal.?
【判断题】 空间曲线的挠率决定曲线的弯曲程度.
①  正确
②  错误