View Single Post
Old 09-12-2010, 04:39 PM   #2706
TonytheBookworm
Addict
TonytheBookworm is on a distinguished road
 
TonytheBookworm's Avatar
 
Posts: 264
Karma: 62
Join Date: May 2010
Device: kindle 2, kindle 3, Kindle fire
How is this done?
I know you can take and make a counter and then check to see if it is less than a number. However with an if statement it only get executed once.
How do you do a for loop that uses a counter?
Something like for (int i; i<=5, i++)
I tried
for counter <=5: with no go

Last edited by TonytheBookworm; 09-12-2010 at 04:44 PM. Reason: figured it out with a while
TonytheBookworm is offline