Question
A file named EE209_Marks.txt consists the name of six students and their marks scored in three tests as shown in the following chart. Ahamad 15.5
Ahamad | 15.5 | 17.5 | 12 |
Susan | 14.5 | 18.5 | 16 |
Dinesh | 12.5 | 14.5 | 17 |
Omar | 12 | 14 | 16 |
Lee | 15 | 17 | 16 |
John | 16 | 16.5 | 15.5 |
Write a C++ program declaring suitable structure data type and read the file contents. Then your program should calculate the total test marks for each student and store the result in a file called EE209_results.txt and display to the console. Your program should also store to the file and display to console the highest and lowest mark scored in each test and the average of the total test marks scored by all the students.
Step by Step Solution
3.42 Rating (155 Votes )
There are 3 Steps involved in it
Step: 1
A CPP Program include using namespace std defining structure struct stud...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get StartedRecommended Textbook for
Elementary Statistics In Social Research Essentials
Authors: Jack A. Levin, James Alan Fox
3rd Edition
0205638007, 978-0205638000
Students also viewed these Programming questions
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
View Answer in SolutionInn App