Create nested structure to store student's ID, name, and quiz. Name the structure with fields "last" and "first" for the students' names.
The structure should have the following fields:
- students
- ID
- name
- last
- first
- quiz
Print the last name and the quiz average for each student.