EXAMPLE 6.5 Print student report
2222
Design an algorithm that will read the same student file as in Example 6.4 and, for each student, print the name, number and attendance pattern from the'S' records(student records and the unit number and unit name from the'U' records(enrolled units records as follows.