C++ Implement Exercise 8-13 (8-13: Write a program to calculate students’ average test scores and their grades.) using single-dimensional parallel arrays. Create a text file with the following data to test your code. Read the following data from this text file: Johnson 85 83 77 91 76 Aniston 80 90 95 93 48 Cooper 78 81 11 90 73 Gupta 92 83 30 69 87 Blair 23 45 96 38 59 Clark 60 85 45 39 67 Kennedy 77 31 52 74 83 Bronson 93 94 89 77 97 Sunny 79 85 28 93 82 Smith 85 72 49 75 63 Using the data above your output should be: (image below)

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
100%

C++

Implement Exercise 8-13 (8-13: Write a program to calculate students’ average test scores and their grades.) using single-dimensional parallel arrays. Create a text file with the following data to test your code. Read the following data from this text file:

Johnson 85 83 77 91 76
Aniston 80 90 95 93 48
Cooper 78 81 11 90 73
Gupta 92 83 30 69 87
Blair 23 45 96 38 59
Clark 60 85 45 39 67
Kennedy 77 31 52 74 83
Bronson 93 94 89 77 97
Sunny 79 85 28 93 82
Smith 85 72 49 75 63

Using the data above your output should be: (image below)

 

Name
Test 1 Test 2 Test 3 Test 4 Test 5
Average
Grade
Johnson
aniston
Cooper
Gupta
85.e0
83.00
77.00
91.e0
76.00
82.40
B
8e.ee
90.00
95.e0
93.e0
48.00
81.20
B
78.e0
81.00
11.e0
90.ee
73.00
66.60
D
92.ee
83.00
30.e0
69.00
87.00
72.20
Blair
Clark
Kennedy
23.ee
45.00
96.ee
38.ee
59.00
52.20
6e.00
85.00
45.00
39.e0
67.00
59.20
F
77.ee
31.e0
52.ee
74.ee
83.00
63.40
D
Bronson
93.00
94.00
89.00
77.00
97.00
90.00
A
Sunny
Smith
79.ee
85.00
28.ee
93.ee
82.00
73.40
85.00
72.00
49.00
75.00
63.00
68.80
D
Class average: 70.94
Process exited after e.06594 seconds with return value e
Press any key to continue ...
Transcribed Image Text:Name Test 1 Test 2 Test 3 Test 4 Test 5 Average Grade Johnson aniston Cooper Gupta 85.e0 83.00 77.00 91.e0 76.00 82.40 B 8e.ee 90.00 95.e0 93.e0 48.00 81.20 B 78.e0 81.00 11.e0 90.ee 73.00 66.60 D 92.ee 83.00 30.e0 69.00 87.00 72.20 Blair Clark Kennedy 23.ee 45.00 96.ee 38.ee 59.00 52.20 6e.00 85.00 45.00 39.e0 67.00 59.20 F 77.ee 31.e0 52.ee 74.ee 83.00 63.40 D Bronson 93.00 94.00 89.00 77.00 97.00 90.00 A Sunny Smith 79.ee 85.00 28.ee 93.ee 82.00 73.40 85.00 72.00 49.00 75.00 63.00 68.80 D Class average: 70.94 Process exited after e.06594 seconds with return value e Press any key to continue ...
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 6 images

Blurred answer
Knowledge Booster
Fundamentals of Multithreaded Algorithms
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education