Private Sub Command1_Click() For i = 1 To 4 x = 4 For j = 1 To 3 x = 3 For k = 1 To 2 x = x + 6 NexPrivate Sub Command1_Click() For i = 1 To 4 x = 4For j = 1 To 3 x = 3 For k = 1 To 2 x = x + 6 Next kNext jNext iPrint xEnd Sub
来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/17 21:36:06
Private Sub Command1_Click() For i = 1 To 4 x = 4 For j = 1 To 3 x = 3 For k = 1 To 2 x = x + 6 NexPrivate Sub Command1_Click() For i = 1 To 4 x = 4For j = 1 To 3 x = 3 For k = 1 To 2 x = x + 6 Next kNext jNext iPrint xEnd Sub
Private Sub Command1_Click() For i = 1 To 4 x = 4 For j = 1 To 3 x = 3 For k = 1 To 2 x = x + 6 Nex
Private Sub Command1_Click()
For i = 1 To 4
x = 4
For j = 1 To 3
x = 3
For k = 1 To 2
x = x + 6
Next k
Next j
Next i
Print x
End Sub
Private Sub Command1_Click() For i = 1 To 4 x = 4 For j = 1 To 3 x = 3 For k = 1 To 2 x = x + 6 NexPrivate Sub Command1_Click() For i = 1 To 4 x = 4For j = 1 To 3 x = 3 For k = 1 To 2 x = x + 6 Next kNext jNext iPrint xEnd Sub
i=4时,j=3,x=3
k=1 x=3+6
k=2 x=9+6=15
最后打印15