Question: For this project using C + + , you will develop a program named project 1 . cpp to determine the final scores, letter grades,
For this project using C you will develop a program named projectcpp to determine the final scores, letter grades, and rankings of all students in a course. All records of the course will be stored in an input file, and a record of each student will include the first name, id five quiz scores, two ex@m scores, and one final ex@m score. For each student record, your program should determine the numeric average and letter grade using the following policies:a Each quiz is graded on the basis of points. Among the five quizzes, discard the lowest score and use the remaining four scores for the grade calculation.b Each ex@m is graded on the basis of points.c The final ex@m is graded on the basis of points.d For the numeric average, the final ex@m counts for percent, midterm$ count for percent, and quizzes count for percent, respectively. Any average of or more is an A any average of or more but less than is a B any average of or more but less than is a C any average of or more but less than is a D and any average below is a F In this project, your program should ask a user for an input file name. Then, it should read the data into your program and store them in a vector of Student type. For example: vector course Student will be a class you will write, which should have the following members:Student name : string id : int average : double grade : char rank : int Student setNamestring : void setIDint : void setAveragedouble : void setGradechar : void setRankint : void getName const : string getID const : int getAverage const : double getGrade const : char getRank const : int print const : voidSo, you will take the information for each student in the file and calculate the numeric average, letter grade, and ranking of each student.Here is an example of how you would do the calculation for the following record:Cati The lowest quiz is so the quiz average would be: The first midtrm average: The second midtrm average: The final average: Final course average would be:Quizzes: Ex@m : Ex@m : Final: After that, your program should display a menu that allows you to print out course report information. Those options will be: A course report in order of numeric averages If students have the same average, you want to print out the student with the lowest ID number first A course report in order of first names If students have the same name, you want to print out the student with the lowest ID number first The statistics of the class, such as the number of students in the course, the average of all numeric grades, and the distribution of each letter grade. When you display the distribution of letter grades, you should use a histogram as shown in the sample result below The last option will be a record finding function. In other words, if a user enters a first name, your program should provide information about the student if a student with that name exists. If there are several students with the same name, your program should display all their records.Sample Input FileThe following presents a sample input data file.Sarah Ana Lee Ana Diego A sample run of your program should look like below. Note that the users inputs are highlighted in bold.Enter an input file: projtestcase.txtCourse Report Options Print in numerical average order Print in first name order Print course statistics Record Finder Choose any other option to quit.Selection: Course Report: First Name OrderAna Brank: Ana Arank: Diego Frank: Lee Brank: Sarah Brank: Course Report Options Print in numerical average order Print in first name order Print course statistics Record Finder Choose any other option to quit.Selection: Course Report: Numerical Average OrderAna Arank: Sarah Brank: Ana Brank: Lee Brank: Diego Frank: Course Report Options Print in numerical average order Print in first name order
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
