下列程序段的输出结果是() For i = 1 To 3 Print i; Next i
举一反三
- 下列程序段的输出结果是_______。 i = 1 while i<=3: print("yes") i += 1 else: print("no")
- 下列程序的执行结果是____。 K=0 For I=1 To 3 a=I^I^K print a; Next I
- 下列程序段的执行结果为【 】。 K=0 For J=1 To2 For I = 1 To 3 K=I+1 Next I For I=1 To7 K=K+I Next I Next J Print K
- 执行下列程序段后,程序的运行结果为()。 s = 1 For i = 1 To 3 For j = 0 To i - 1 s = s + s * j Next j Print s; Next i
- 下列程序段的执行结果为 _______。 Dim a(3, 5) As Integer Dim i As Integer, j As Integer For i = 1 To 3 For j = 1 To 5 a(i, j) = a(i - 1, j - 1) + (i - 1) * 5 + j Next j Next i Print a(3, 4)