Dim n As Integer, i As Integer, aa As Single
aa = 5
n = aa
For i = (n – 1) To 1 Step -1
aa = aa * i
Next i
Cells(1, 1) = aa
End Sub
What is the output of this code? Show hand calculations
Expert Answer
An answer will be send to you shortly. . . . .
Dim n As Integer, i As Integer, aa As Single
aa = 5
n = aa
For i = (n – 1) To 1 Step -1
aa = aa * i
Next i
Cells(1, 1) = aa
End Sub
What is the output of this code? Show hand calculations
An answer will be send to you shortly. . . . .