Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprenda Challenge: Filter Passing Grades | Searching and Filtering Arrays
Quizzes & Challenges
Quizzes
Challenges
/
C# Arrays

bookChallenge: Filter Passing Grades

Tarefa

Swipe to start coding

Write a program that filters and prints all passing grades from an integer array of scores. A passing grade is any score that is 60 or above.

  • Return a new integer array containing only the values from scores that are greater than or equal to 60.
  • The order of passing grades in the returned array should match their order in the original scores array.
  • If there are no passing grades, return an empty array.

Solução

Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 2. Capítulo 4
single

single

Pergunte à IA

expand

Pergunte à IA

ChatGPT

Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo

Suggested prompts:

Can you explain this in simpler terms?

What are the main benefits of this approach?

Are there any common mistakes to avoid with this?

close

bookChallenge: Filter Passing Grades

Deslize para mostrar o menu

Tarefa

Swipe to start coding

Write a program that filters and prints all passing grades from an integer array of scores. A passing grade is any score that is 60 or above.

  • Return a new integer array containing only the values from scores that are greater than or equal to 60.
  • The order of passing grades in the returned array should match their order in the original scores array.
  • If there are no passing grades, return an empty array.

Solução

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 2. Capítulo 4
single

single

some-alt