Challenge: Update High Scores
Oppgave
Swipe to start coding
Practice accessing and modifying elements in an array by writing a complete program from scratch.
- Create an array named
highScoreswith the values1200, 950, 870, 760, 650. - Update the second element in the array to
990. - Print all elements of the array, each on a new line.
Løsning
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 1. Kapittel 4
single
Spør AI
Spør AI
Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår
Awesome!
Completion rate improved to 3.57
Challenge: Update High Scores
Sveip for å vise menyen
Oppgave
Swipe to start coding
Practice accessing and modifying elements in an array by writing a complete program from scratch.
- Create an array named
highScoreswith the values1200, 950, 870, 760, 650. - Update the second element in the array to
990. - Print all elements of the array, each on a new line.
Løsning
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 1. Kapittel 4
single