Count the passes

Complete the previous lesson to unlock this one.

Back to the path

Count the passes

Level 13: Slot 1. The counter pattern is where the Repeat level stalls. Start at 0, add 1 for each hit, output the number alone.

Read 5 integer marks into an array. Output how many are 50 or more.

Example: input 40, 50, 49, 80, 100 → 3.