VBForums
>
Visual Basic
>
Visual Basic 6 and Earlier
> Please help! For Next loop for square!
PDA
Click to See Complete Forum and Search -->
:
Please help! For Next loop for square!
kazooie21
Nov 21st, 1999, 09:25 AM
I need a For Next loop that will calculate and display the square of the even numbers from 2 to 12.
Nov 21st, 1999, 09:41 AM
this is easy! here ya go
' START:
For i = 2 To 12 Step 2
Print i ^ 2
Next i
' END:
kazooie21
Nov 22nd, 1999, 04:20 AM
Thanks so much!!
------------------
kazooie21
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.