Challenge: Update High Scores
Tâche
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.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 1. Chapitre 4
single
Demandez à l'IA
Demandez à l'IA
Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion
Awesome!
Completion rate improved to 3.57
Challenge: Update High Scores
Glissez pour afficher le menu
Tâche
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.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 1. Chapitre 4
single