tooManyComments

PHOTO EMBED

Wed Oct 26 2022 00:06:56 GMT+0000 (Coordinated Universal Time)

Saved by @DonYall #java

int i = 0; // Initializing an integer with a value of 0
while (i < 10) { // While loop to repeat code until i is greater than or equal to 10
  if (something) { // Check if the 'something' method returns true
    i++; // Increase value of i by 1
  } else { // Otherwise if the 'something method' does not return true
    i += 2; // Increase value of i by 2
  }
} // End of while loop
content_copyCOPY