Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Apprendre Challenge: Update High Scores | Array Fundamentals
Quizzes & Challenges
Quizzes
Challenges
/
C# Arrays

bookChallenge: 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 highScores with the values 1200, 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 ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 1. Chapitre 4
single

single

Demandez à l'IA

expand

Demandez à l'IA

ChatGPT

Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion

Suggested prompts:

Can you explain this in simpler terms?

What are the main points I should remember?

Can you give me an example?

close

bookChallenge: 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 highScores with the values 1200, 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

Switch to desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 1. Chapitre 4
single

single

some-alt