Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Challenge: Filter Passing Grades | Section
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
C# Arrays
Sectionย 1. Chapterย 11
single

single

bookChallenge: Filter Passing Grades

Swipe to show menu

Task

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.

Solution

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Sectionย 1. Chapterย 11
single

single

Ask AI

expand

Ask AI

ChatGPT

Ask anything or try one of the suggested questions to begin our chat

some-alt