Menu
×
×
Correct!
Exercise:Stop the loop if
for (int i = 0; i < 10; i++) {
if (i == 5) {
@(5);
}
cout << i << "\n";
}
for (int i = 0; i < 10; i++) {
if (i == 5) {
break;
}
cout << i << "\n";
}
Not CorrectClick here to try again. Correct!Next ❯ |
This will reset the score of ALL 58 exercises.
Are you sure you want to continue?