Question: C++ Program: Create a data file to store student names and test score, testScore.txt Write a program will will readthe data from the data file

C++ Program: Create a data file to store student names and test score, testScore.txt

Write a program will will readthe data from the data file and compute averageScore

averageScore = 0.15*(test1 + test2) + 0.2 * midterm + 0.3 * final + 0.2 * homeworks

then,compute the grade by using

averageScore: 90 - 100, grade = 'A'

80 - 89, grade = 'B'

70-79, grade = 'C'

60-69, grade = 'D'

< 60, grade = 'F'

Print the following for each student

LastName FirstName averageScore Grade

Save the results in a an output file


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!