Question: Input: Following is the input data to several sort problem scenarios. Study the data file and then review each problem. This file has the following
Input:
Following is the input data to several sort problem scenarios. Study the data file and then review each problem. This file has the following format:
Output/Processing problems:
1 Report in student name order within a state. data severai sunt problem scenamos way the ato me and then review each problem. This file has the following format: Fleld Name Type Length Format Decimal Places 0 Start Position 1 10 30 31 9 20 1 10 1 0 Student number Student name Student classification Major Resident Status Date of Birth Credits Earned Grade Point Average State of Residence 1=fresh, 2=soph, etc Numeric Alpha Numeric Alpha Numeric Numeric Numeric Numeric Alpha 41 42 1 = res, 2 = non-res YYYYMMDD 8 DOON NW 00 3 3 2 50 53 56 U.S. Postal abbrev. Output/Processing problems: 1. Report in student name order within a state.
2. List of student names such that the student with greatest number of credits earned within a major appears first.
3. List of the name and grade point average of each student in the file such that all freshman students will be grouped within a major and within that group the student with the highest GPA will appear first followed by the next highest GPA
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
