Question: Exercise 4 please Exercise 4: Bring in program grades.cpp and grades.txt from the Lab 10 folder. Fill in the code in bold so that the


Exercise 4: Bring in program grades.cpp and grades.txt from the Lab 10 folder. Fill in the code in bold so that the data is properly read from grades.txt. and the desired output to the screen is as follows: DATA FILE 94 91 94 91 94 OUTPUT TO SCREEN Adara Starr has a(n) 94 average David Starr has a(n) 91 average Sophia Starr has a(n) 94 average Maria Starr has a(n) 91 average Danielle De Fino has a(n) 94 average Dominic DeFino has a(n) 98 average McKenna De Fino has a(n) 92 average Taylor MeIntire has a(n) 99 average Torrie McIntire has a(n) 91 average Emily Garrett has a(n) 97 average Lauren Garrett has a(n) 92 average Marlene Starr has a(n) 83 average Donald DeFino has a(n) 73 average 98 Adara Starr David Starr Sophia Starr Maria Starr Danielle De Fino Dominic DeFino McKenna DeFino Taylor McIntire Torrie Melntire Emily Garrett Lauren Garrett Marlene Starr Donald De Fino 92 99 91 97 92 83 73 The code of grades.cpp is as follows: #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
