下列循环嵌套的结构中,正确的是_______。 A: For i = 2,4,6,8,10 ``` Do ``` Loop While s > 0Next B: For i = 2 To 10 ``` Do While s > 0 ``` LoopNext C: For i = 2 To 10 ``` Do While s > 0 ``` Next Loop D: For i = 2 To 10 ``` Do ``` Next Loop While s > 0
下列循环嵌套的结构中,正确的是_______。 A: For i = 2,4,6,8,10 ``` Do ``` Loop While s > 0Next B: For i = 2 To 10 ``` Do While s > 0 ``` LoopNext C: For i = 2 To 10 ``` Do While s > 0 ``` Next Loop D: For i = 2 To 10 ``` Do ``` Next Loop While s > 0
s=6;do s-=2; while(!s);能循环三次.
s=6;do s-=2; while(!s);能循环三次.
下列循环嵌套的结构中,正确的是_______。 A: For i = 2,4,6,8,10 ``` Do ``` Loop While s > 0Next B: For i = 2 To 10 ``` Do While s > 0 ``` LoopNext C: For i = 2 To 10 ``` Do While s > 0 ``` Next Loop D: For i = 2 To 10 ``` Do ``` Next Loop While s > 0
下列循环嵌套的结构中,正确的是_______。 A: For i = 2,4,6,8,10 ``` Do ``` Loop While s > 0Next B: For i = 2 To 10 ``` Do While s > 0 ``` LoopNext C: For i = 2 To 10 ``` Do While s > 0 ``` Next Loop D: For i = 2 To 10 ``` Do ``` Next Loop While s > 0
1) What did the photographer do? 2) What did the maid do? 3) What did Taft’s aunt do?
1) What did the photographer do? 2) What did the maid do? 3) What did Taft’s aunt do?
2 Fraser’s parents encouraged him to do whatever he wanted to do in his spare time.
2 Fraser’s parents encouraged him to do whatever he wanted to do in his spare time.
以下能正确计算1*2*3*...*10的程序段是____。A)do{i=1;s=1; B}do( i=1;s=0;s=s*i; s=s*i;i++; i++;}while____; }while____;C)i=1;s=1; D) i=1;s=0;do{ s=s*i; do( s=s*i;i++; i++;}while____; }while____;
以下能正确计算1*2*3*...*10的程序段是____。A)do{i=1;s=1; B}do( i=1;s=0;s=s*i; s=s*i;i++; i++;}while____; }while____;C)i=1;s=1; D) i=1;s=0;do{ s=s*i; do( s=s*i;i++; i++;}while____; }while____;
以下能正确计算1×2×3×…×10的程序段是 。 A: do {i=1;s=1; s=s*i; i++; } while(i<=10); B: do {i=1;s=0; s=s*i; i++; } while(i<=10); C: i=1;s=1; do {s=s*i; i++; } while(i<=10); D: i=1;s=0; do {s=s*i; i++; } while(i<=10);
以下能正确计算1×2×3×…×10的程序段是 。 A: do {i=1;s=1; s=s*i; i++; } while(i<=10); B: do {i=1;s=0; s=s*i; i++; } while(i<=10); C: i=1;s=1; do {s=s*i; i++; } while(i<=10); D: i=1;s=0; do {s=s*i; i++; } while(i<=10);
以下能正确计算1×2×3×…×10的程序段是( )。 A: A)do{i=1; s=1; s=s*i; i++; B: do{i=1; s=0; s=s*i; i+ }while(i<=10); C: C)i=1; s=1; do{s=s*i; i++; }while(i<=10); D: D)i=1; s=0; do{s=s*i; i++; }while(i<=10);
以下能正确计算1×2×3×…×10的程序段是( )。 A: A)do{i=1; s=1; s=s*i; i++; B: do{i=1; s=0; s=s*i; i+ }while(i<=10); C: C)i=1; s=1; do{s=s*i; i++; }while(i<=10); D: D)i=1; s=0; do{s=s*i; i++; }while(i<=10);
以下能正确计算1*2*3*……*10的程序段是( )。 A: do{i=1; s=1;s*=i;i++;} while(i<;=10); B: do{i=1; s=0;s*=i;i++;} while(i<;=10); C: i=1; s=1;do{s*=i;i++;} while(i<;=10); D: i=1; s=0;do{s*=i;i++;} while(i<;=10);
以下能正确计算1*2*3*……*10的程序段是( )。 A: do{i=1; s=1;s*=i;i++;} while(i<;=10); B: do{i=1; s=0;s*=i;i++;} while(i<;=10); C: i=1; s=1;do{s*=i;i++;} while(i<;=10); D: i=1; s=0;do{s*=i;i++;} while(i<;=10);
下列程序执行后s的值是____1____,i的值是____2____ s = 1: i = 1 Do While True s = s + i i = i + 2 If i = 7 Then Exit Do Loop
下列程序执行后s的值是____1____,i的值是____2____ s = 1: i = 1 Do While True s = s + i i = i + 2 If i = 7 Then Exit Do Loop