For-Lus Oefening
Voorbeeld uit de vorige les
main.c
1234567891011121314#include <stdio.h> int main() { int array[] = { 3, 6, 2, 134, 45, 2, 564, 8, 3, 531 }; for (int i = 0; i < 10; i++) { printf("Index of element: %d\tValue of element: %d\n", i, array[i]); } return 0; }
Taak
Swipe to start coding
Gebruik de for-lus om getallen van 10 tot 0 op het scherm weer te geven.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 4. Hoofdstuk 7
single
Vraag AI
Vraag AI
Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.
Suggested prompts:
Can you explain what this example demonstrates?
Can you provide more details about the previous lesson?
How does this example relate to the current topic?
Awesome!
Completion rate improved to 2.63
For-Lus Oefening
Veeg om het menu te tonen
Voorbeeld uit de vorige les
main.c
1234567891011121314#include <stdio.h> int main() { int array[] = { 3, 6, 2, 134, 45, 2, 564, 8, 3, 531 }; for (int i = 0; i < 10; i++) { printf("Index of element: %d\tValue of element: %d\n", i, array[i]); } return 0; }
Taak
Swipe to start coding
Gebruik de for-lus om getallen van 10 tot 0 op het scherm weer te geven.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 4. Hoofdstuk 7
single