Challenge: Update High Scores
Uppgift
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 allt tydligt?
Tack för dina kommentarer!
Avsnitt 1. Kapitel 4
single
Fråga AI
Fråga AI
Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal
Awesome!
Completion rate improved to 3.57
Challenge: Update High Scores
Svep för att visa menyn
Uppgift
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 allt tydligt?
Tack för dina kommentarer!
Avsnitt 1. Kapitel 4
single