C++ (For Rana Hamza Intisar)

profilewillz916
program_2.docx

Write a program that will use a loop to ask the user to input 3 student first names and 5 scores for each student. Use a Function to enter the five grades and find the ceiling of the average. Use a Function to get the letter grade using if...else if statements from the average. After all data has been input for the student, output the student name, 5 scores, total, ceiling of the average, and letter grade to a sequential file. After all three students have been output to the file, use a function to input the file and display the information as shown below.

The screen output should look something like this:

Mike 100 97 95 93 91 476 95 A Sam 90 97 95 93 91 466 93 A Frank 80 83 87 93 91 434 87 B