Menu
×
×
Correct!
Exercise:Loop through the elements in the array using a for loop.
int myNumbers[] = {25, 50, 75, 100};
int i;
for (i = 0; i < 4; i++) {
printf("%d\n", myNumbers[i]);
}
Not CorrectClick here to try again. Correct!Next ❯int myNumbers[] = {25, 50, 75, 100}; int i;(i = 0; i < 4; i++) { printf("%d\n", ); } |