Boss: names at or above a mark

Complete the previous lesson to unlock this one.

Back to the path

Boss: names at or above a mark

Level 1: Records. This is the array-of-records loop Paper 2 actually marks: walk every record, test one field, output another.

The four students are filled in. Read an integer threshold. Output the name of every student whose mark is greater than or equal to it, one name per line, in array order.

Input 70 prints:

Ada Cy Di

Input 100 prints nothing.