Construct a data dictionary, and draw a hierarchy chart and flowchart or pseudocode for a program to produce a report for the principal of a school.Output. Output consists of the report. At most, 40 lines (including headings, detail lines, and blank lines) are to appear on each page of the report. The teacher name is to be shown only for the first student in a class. For subsequent students the TEACHER column is to remain blank. A blank line is to printed when the teacher name changes.
Input. Each input record contains a teacher name and a student name. The records have been previously sorted by teacher so that the stu dents in a particular class are all together.