3. If I knew what he wanted, I _______ this.
If I ____ where he lived, I ____ a note to him.
以下程序执行后的输出结果是________。 #include \stdio.h\ void main() { int i; for(i=1;i<=40;i++) { if(i++%5==0) if(++i%8==0) printf(\%d\,i); } printf(\\\n\); }
有以下程序段,其运行结果是_______int i=5;do{if(i%3==1)if(i%5==2){printf(\*%d\,i);break;}i++;}while(i!=0);
If I ________you, I would take some Mongolian medicine.
I’ll go swimming with you if I ________ free tomorrow.
If I had time this evening,I ___________(go)to your birthday party.
If you ______, I would have told you.
If I had hurried, I ____________ the train yesterday.
I don't know if Lily _____ to the lecture. If she _____, please let me know.
方法boolean isPrime(int n)的功能是判断正整数n(n>1)是否为质数。static boolean isPrime(int n) {int i;if(n==2)return true;if(n%2==0)return false;for(i=3;i*i<=n;i+=2)if(_________) break;if(_________) return true;return false;}
下面程序的功能是找出 100 () Dim i As Integer, j As Integer Dim Sum As Single, c As Single For i=1 To 100 For j=_______________ Sum= i + j C= i – j If___________________________Then Print " 自然数对为: "; i , j End If Next j Next i End Sub
If you don‘ t go, I shall not__________.
If I ______ in your place, I wouldn‘t trouble him.
If I___his telephone number I_____him.
I can show you around, if you like._______________
I would probably try to find a better job if I __________ in your position.
If I hadn't slipped on the ice, I______my arms.
If I_____ Peter, I him about the meeting.
-Do you mind if I open the window? -___________ .
若有int i=0;,则以下程序段中,while 循环的循环次数是________。 while(i<10) { if(i<1) continue; if(i==5) break; i++; }
I ______ if you were free this evening.
If I _____ you, I _____ go with him.
以下程序用Array()函数建立了含有10个元素的数组,然后找出并输出了其中的最大值和最小值。 Option Base 1 Private Sub Form_Click() Dim a Dim max As Integer, min As Integer, i As Integer a = Array(13, 17, -11, 4, 8, 10, 20, -9, 15, 21) max = a(1) min =______(1)______ For i = 2 To 10 If a(i) > max Then ______(2)______ End If If a(i) < min Then ______(3)______ End If Next i Print max, min End Sub