The word loop


#1

is really throwing me for a loop :tired_face:


#2

Could you give some more information about the problem:

  • exercise number/name
  • your code
  • general question?

#4

Ok but then maybe post it in the lounge under "suggestions and problems" and add some more explanation what is bothering you. And don't use repetitive pattern like you did in your last post as otherwise the system will ban you automatically for spamming.


#5

Some loop syntax:

//For incrementation
for (i = 0; i < 100; i++) {
    //Statements
}
//For in loop
for (i in list) {
    //Statements
}
//While loop
while (i < 100) {
    //Statements
    i++;
}
//Do While Loop
do {
    //Statements
    //Incrementation
} while (condition);