CSCI – 320 Exam 2 Spring 2011
Given the following table layout, write a program that gives the average GPA for each school.
You can assume the data is sorted by school.
Include the header line with the name of the school and today's date.
Here's a start of the program, or you can start by scratch.
Notice this is a little different than the average control break, here you find the average GPA instead of summing up the data.
I'll be grading on:
How close you are to a correct solution
being able to open and read from a file
creating a summary report file
layout of report file
correct control breaking
Student Record Layout
|SSNO||Student Name||Class||School||GPA 9v99||Credits Earned|
Download sample student data
This is what the output should look like for the sample data.
COPY Lastname.cob USR1:[DTUCKER.cobol.SPRING2011.exam2]
be sure you set protection on it so I can compile and run it.