Challenge: Update High Scores
Task
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
Everything was clear?
Thanks for your feedback!
SectionΒ 1. ChapterΒ 4
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Awesome!
Completion rate improved to 3.57
Challenge: Update High Scores
Swipe to show menu
Task
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
Everything was clear?
Thanks for your feedback!
SectionΒ 1. ChapterΒ 4
single