Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Write a program that reads student information and computes the average of cours

ID: 3627482 • Letter: W

Question

Write a program that reads student information and computes the average of courses for each student and the average grade of each course.
List.txt is an input file that has student first name and student last name, and grade of 3 courses.
Write output of the program in a file grade.txt with this information:
FirstName LastName Avg_Crs (Average of all three courses)
For example:
Sam Jones 97.45
.
.
.
And at the end:
Average of Course1 =
Average of Course2 =
Average of Course3 =
-------------------------------------------------------------------------------------------------------
The input file is:
Mary Jones 98.12 79.92 99.0
Margaret Jones 100.0 99.0 92.50
Mona Marvel 76.8 86.58 89.76
Marlene Smith 100.0 100.0 100.0
Marianne Marth 67.0 70.50 80.75
Bill Baker 88.0 87.0 90.75
Burt Baker 55.75 87.25 78.75
Bob Carlton 100.0 78.75 99.0
Brad Rosenthal 96.0 89.0 99.0
Ben Brown 100.0 99.0 99.0

Explanation / Answer

DEAR FRIEND here is the program u want and it is easy to understand any problems please message me PLEASE RATE #include #include #include using namespace std; void main() { ifstream myfile; ofstream outfile; double grades[3]; double sum[3]; double sum_one=0; int num_of_students=0; string str[2]; for(int i=0; i>str[0]>>str[1]; for(int i=0;i>grades[i]; for(int i=0; i
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote