以下声明I是整型变量的语句正确的是( ).
A: Dim I,j As single
B: I=1234
C: Dim I As Integer
D: I As Integer
A: Dim I,j As single
B: I=1234
C: Dim I As Integer
D: I As Integer
举一反三
- 以下声明I是整型变量的语句正确的是____。 A: Dim<br/>I, j As Integer B: I=12.34 C: Dim<br/>I As Integer D: I<br/>As Integer
- Dim i, j as integer 表明i和j都是整型变量.
- 下列程序段的执行结果为 _______。 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)
- Java程序中,关于变量的定义,下面哪个语句是的? A: Dim i as Integer B: var i = 0; C: i:Integer; D: int i = 0;
- 下列程序中 s = s + j 语句共执行了______次。 Dim s As Integer Dim i As Integer, j As Integer For i = 1 To 10 Step 2 For j = 1 To 5 Step 2 s = s + j Next j Next i Print s