This program sorts a sequential file of student records by their ID, calculates the average of their grades and prints out a report with said information
The application takes as input a file (called "INPUT-STUDENT") containing the following fixed-length fields:
Field Name | Data Type | Char. Length | Description | Notes |
---|---|---|---|---|
Student ID | Unsigned Integer (zero fill) | 5 | ID of student | Nothing to note |
Student Name | Alphabetic (ASCII) | 30 | First name of student | Nothing to note |
Student Last Name | Alphabetic (ASCII) | 30 | Last name of student | Nothing to note |
Student General Grade | Unsigned Decimal (zero fill) | 5 | General grade of student | 5.22 === 05220 |
It also requires the existence of a "WORK-STUDENT" file and a "OUTPUT-STUDENT" file in order to sort the sequential records
Once these two files are set, you just run the program and a report will be created!