Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Hi, Please help me with ASSIGNMENT 2. I have done Assignment 1. I am providing my code (.cpp and .h) for assignment 1. please do
Hi, Please help me with ASSIGNMENT 2. I have done Assignment 1. I am providing my code (.cpp and .h) for assignment 1. please do the modifications and help me with ASSIGNMENT 2. Please do it in C++. I am providing my code and both assignment questions. please describe the code (.h files / .cpp files / main.cpp) and please show the output also.
here are my question and my code.
Create a program to calculate grades as well as descriptive statistics for a set of test scores. The test scores can be entered via a user prompt or through an external file. For each student, you need to provide a student name (string) and a test score (float). The program will do the followings: - Assign a grade (A, B, C, D, or F) based on a student's test score. - Display the grade roster as shown below: - Calculate the following descriptive statistics (as shown below) Number of students in the class Average score Maximum score Minimum score =============== Class Statistics ======= Number of students in the class: 3 Class Auerage: 94.3333 Laximum Test Score: 100 Minimum Test Score: 90 The program must use - A loop structure (for-loop, while-loop, or do-while-loop) - Conditional processing (if-then-else) - Arrays or vectors Modify assignment \# 1 so that the instructor can enter up to 5 test scores per student. The class roster should include the average test score for each student as well as the overall grade. Update the class statistics to include the average score for each of test. You must create a class called student that has the following data members. - First Name - Last Name - An array or a vector that contains the test scores. All class data members must be private or protected. Separate the class interface from the class implementation and use include guardsStep by Step Solution
There are 3 Steps involved in it
Step: 1
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 Started