1// The code will print your number 10 times if x <= 100
2
3int x = 120;
4for (int i = 0; i < 10; i++)
5{
6 if (x > 100)
7
8 // Note: if multiple for loops: breaks the superficial one
9 break;
10 else
11
12 printf("%i\n", x);
13}
1for (int i = 0; i < 10; i++) {
2 if (i == 4) {
3 continue;
4 }
5 cout << i << "\n";
6}