Question: Input data: http://pastebin.ca/3374639 C++ Program using Structs, and functions outside main. You are to write a program that will read the input file (must read

Input data: http://pastebin.ca/3374639

C++ Program using Structs, and functions outside main.

You are to write a program that will read the input file (must read into struct) abobe in for up to 15 students with student information and grades. Your program will compute an average and print out certain reports.

Format: The information for each student in on separate lines of input. The first data will be the students ID number, next the students classification, next line is the students name and the last line are the 9 grades where the last grade is a final and is to be counted twice.

Read in the students, compute their averages and print out the following reports:

Print out each student ID and their average.

Print out all the Seniors in a list with their name and average.

Print out all the Juniors in a list with their name an average.

Sort the students on ID and print out ID and average.

Print out the class average, (average of the averages.)

Be sure to label each list and line up all output in straight columns. (No waves)

Input file: http://pastebin.ca/3374639

Example of inputs are given below.

Example input

12345

Junior

tom archer jones

89 90 95 90 95 100 85 90 95

51321

Senior

dewy luewey

90 95 100 100 95 95 95 100 95

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!