Menu
×
×
Correct!
Exercise:Loop through the elements in the
string cars[4] = {"Volvo", "BMW", "Ford", "Mazda"};
@(3) (@(5) = 0; @(1) < 4; @(3)) {
cout << @(7) << "\n";
}
string cars[4] = {"Volvo", "BMW", "Ford", "Mazda"};
for (int i = 0; i < 4; i++) {
cout << cars[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?