Output the matching mark

Complete the previous lesson to unlock this one.

Back to the path

Output the matching mark

Level 1: Records. The lookup Check fails when "Not found" is printed from inside the loop. First, print the mark for a name that is always there.

The three students are already stored. Read a name — it will be one of them — and output that student's mark.

Example: input Ada → 80. Input Cy → 91.

Use Group[Index].Mark. Do not print anything else.