This site requires JavaScript, please enable it in your browser!
Greenfoot back
ImASuckerAtThis
ImASuckerAtThis wrote ...

2013/1/15

FOR LOOP EMERGENCY

ImASuckerAtThis ImASuckerAtThis

2013/1/15

#
hi how do i do a for loop> please explain really well, every single part thanks
erdelf erdelf

2013/1/15

#
for(int i = 0; i<10; i++)
{
          //your code
} 
you are creating a new integer called i, as long as the value of i is under 10 the code will be looped. after every loop, i will be increased by 1
davmac davmac

2013/1/15

#
ImASuckerAtThis, please stop spamming the forum. You created four different discussions for this one topic. I will delete the other three.
Duta Duta

2013/1/15

#
@davmac, is it conceivable that he just has a slow connection and so hit "Post Topic" 4 times?
davmac davmac

2013/1/15

#
Duta: No, they were all different.
Duta Duta

2013/1/15

#
Oh, fair enough.
You need to login to post a reply.