Challenge: Update High Scores
Opgave
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
Var alt klart?
Tak for dine kommentarer!
Sektion 1. Kapitel 4
single
Spørg AI
Spørg AI
Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat
Awesome!
Completion rate improved to 3.57
Challenge: Update High Scores
Stryg for at vise menuen
Opgave
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
Var alt klart?
Tak for dine kommentarer!
Sektion 1. Kapitel 4
single