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.
- Previous: Assigning a record copies it
- Next: Look up one field
- AS & A Level Path