Question
COBOL Page 300, Problem #8 The Pass-Em State College has a student file with the following data: SSNO; STUDENT NAME; CLASS; SCHOOL; GPA 9V99; CREDITS
COBOL
Page 300, Problem #8
The Pass-Em State College has a student file with the following data:
SSNO; STUDENT NAME; CLASS; SCHOOL; GPA 9V99; CREDITS EARNED
1-9; 10-30; 31; 32; 33-35; 36-38
Column 31 is:
1 = Freshman
2 = Sophomore
3 = Junior
4 = Senior
Column 32 is:
1 = Business
2 = Liberal Arts
3 = Engineering
Print the average GPA for all students at the college. List the appropriate Class and School name for each student & label the data.
NOTE: Headers are required to label each record. Each record must be printed to an output file with the proper formatting for SSN, The name of the Class and the name of the School and GPA.
EXTRA CREDIT: 10% if you give an additional footer with the count of all "Freshman = xx, Sophomore = xx, Junior = xx, & Senior = xx"
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started