You are to write a program that will process a text file that contains the following information for a group of students (one line of data per student):
Name (Last name - space - First name; at most 20 characters, padded with blanks on the right), followed by a series of numeric values, separated by at least one blank space. Each numeric value will be an integer representing the student's score on an exam, quiz, or other assignment.
The first line of data will contain "Possible Points" in the Name field and the integer values will represent the highest possible score on each assessment.
NOTE: The number of integers on a specific line of data may or may not be the same as the number of values on the "Possible Points" line.
Sample data for one student:
Payne Major 26 11 86 34 6 15 72 25 5 19 33 68
Sample first line of text:
Possible Points 28 18 20 90 40 16 22 85 25 15 22 40 100
You should prompt the user for the name of an input data file, make sure the requested file exists (allow the user to enter a different file name if it does not), prompt the user for the name of an output file, read the first line of data to determine the total number of points possible, and then, for each student:
The scale to be used is:
A: 88% or above
B: 76 to 87.99...%
C: 64 to 75.99...%
D: 52 to 63.00...%
F: below 52%
After all students have been processed, your program should also display the following and store this information in the output file:
Use at least a few methods (with complete, proper argument lists -- do NOT use global variables) in this program.
Your code should be fully documented.