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