【单选题】【消耗次数:1】
如何编写当 i 不等于 5 时执行一些语句的条件语句?( )
if =! 5 then
if 5
if (i 5)
if (i != 5)
参考答案:
复制
纠错
相关题目
【单选题】 如何编写当 i 不等于 5 时执行一些语句的条件语句?( )
①  if =! 5 then
②  if < 5
③  if (i < 5)
④  if (i != 5)
【单选题】 如何编写当 i 等于 5 时执行一些语句的条件语句?( )
①  if (i==5)
②  if i=5 then
③  if i=5
④  if i==5 then
【单选题】 若有定义int i=1;则执行完循环while(i++〈5);以后i 的值为()
①  6
②  5
③  4
④  7
【简答题】 有如下程序段: For i=1 To 3 For j=5 To 1 Step -1 Print i*j Next j Next i 程序运行后,语句print i*j的执行次数为[填空]。
【单选题】 循环for(int i=0,x=0;!x&&i<=5;i++);的循环体执行次数是()
①  5
②  6
③  1
④  无限
【单选题】 以下程序段的结果是 c的值为( )。char * a[5]={“12378”, “1237”, “1236789”, “1237”, “123708”}; int i,c=0; for(i=0;i5:i++) if(StrCmp(a[i], “1237”)==0)c++;
①  A.2,
②  B.5
③  C.0
④  D.1237
【单选题】 下面程序执行后的结果是() #include stdio.h void fun( ) { int i,sum=0; int a[5]={1,2,3,4,5}; for (i=0;i { if (a[i]%2==0) { sum+=a[i]; } } printf(%d,sum); } void main( ) { fun( ); }
①  6
②  15
③  9
④  11
【单选题】 执行语句for(i=1;i++后变量i的值是( )。
①  3
②  4
③  5
④  不定
【单选题】 5.I will visit you if Father me.
①  let
②  lets
③  is letting
④  will let
【单选题】 <img src=https://huaweicloudobs.ahjxjy.cn/78EFD122A9B6B95558A823EB5D09578F.png title=5JQ_1H6I$$LS%9I}GG5Z}BC.png alt=5JQ_1H6I$$LS%9I}GG5Z}BC.png/>
①  0
②  1
③  -1
④  2
随机题目
【简答题】 Direction: Fill in the blanks with the phrases given below. Change the form if necessary.[have access to; go off; desperate for; put up with; always the case; give advice; concentrate on; arrive at; make an effort; come in handy]1. We may[填空1], but we cant give conduct.
【简答题】 Direction: Fill in the blanks with the words given below. Change the form if necessary.[assumption; contact; cliff; equivalent; emergency; outweigh; height; rummage; vibration; bugbear]5.Even the cheapest car costs the[填空1]of 7 yearssalary for a government worker.
【简答题】 Directions: Fill in the blanks with the words given below. Change the form if necessary.[fee; react; expand; besides; quantity; stay; highly; device; customer; commercial]2.I want to know how he[填空1]to our suggestion.
【简答题】 Direction: Fill in the blanks with the phrases given below. Change the form if necessary.[have access to; go off; desperate for; put up with; always the case; give advice; concentrate on; arrive at; make an effort; come in handy]7.Its no wonder,then, that women all over the world are[填空1]a better option.
【简答题】 <img src="https://huaweicloudobs.ahjxjy.cn/ABD1293A15499D5E36AAB4D675203AE4.png" title="10.png" alt="10.png"/>
【简答题】 <img src="https://huaweicloudobs.ahjxjy.cn/D7F1520B4EF6626C95379CDCD5008DB9.png" title="4.png" alt="4.png"/>
【简答题】 <img src="https://huaweicloudobs.ahjxjy.cn/2036318D79F7F6CD8B7E77C8809B140B.png" title="5.png" alt="5.png"/>[填空1]
【简答题】 <img src="https://huaweicloudobs.ahjxjy.cn/88FE88F0EE2C2E719AC98E20785E9585.png" style="" title="0.png"/><img src="https://huaweicloudobs.ahjxjy.cn/9E63F004D69797EAABB12E1860FF0995.png" style="" title="1.png"/>=[填空1]
【简答题】 Directions: Translate sentence by using “nothing more than”.1. He ___________ (只不过是一个做白日梦者).
【简答题】 Directions: Translate sentence by using “nothing more than”.5. For many people, drinking alcohol___________(只不过是一种愉快的放松方式).