Task 6 of 7 · 0 solved · 7 to go0%
You can read the problem, but answers are checked only for signed-in students. Sign in to answer →

6.2 Data sets — names of passers

Total: 0 / 3 pts
Practice mode — check each part and get hints as you go.
Task

Two parallel arrays hold names and their scores: position i in one matches position i in the other. Fill in passingNames so that it returns an array of the names whose score is at least threshold.

Count first to size the result array, then fill it. The program prints Ada and Bo.

Your solution