X的初始值是3,执行下面的程序段For I = 1 To 10 Step -2: x = x + I 3: Next I后,X的值为
举一反三
- 执行下面程序段后,x的值为______。x=5For i = 1 To 20 Step 2x = x + i \ 5Next i
- 设有如下程序段: x=2 For i=1 To 10 Step 2 x=x+i Next 运行以上程序后, x的值是 _____ _____
- 执行下列程序段后,x的值为( )。x = 10For i = 1 To 5 For j = 1 To 5 Step 2 x = x - 1 Next jNext i A: -5 B: 5 C: 10 D: 0
- 执行下列程序段后,x的值为( )。 x=5 For i=1 to 20 Step 2 x=x+i\5 Next i A: 21 B: 22 C: 23 D: 24
- 执行下列程序段后,x的值是()。n = 5: x = 1: i = 1Do x = x * i i = i + 1Loop While i < n