Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A student has four test scores (out of 100) and the data of four students are shown in the following .txt file. Create a class

A student has four test scores (out of 100) and the data of four students are shown in the following .txt file. Create a class C++ program to find the grade of each of the student(based on average score, Grade A: 90-100 or >100, Grade B: 80-89, Grade C: 70-79, Grade D: 60-69 and Grade F: <60) and output the student name, four test scores, average score and grade in an output.txt file.

Input.txt

Jonathan Blythe 87 76 79 88

Jessica Blake 87 79 58 86

Jonathan Lee 88 86 69 100

Joseph Blake 78 89 50 69

The students also scored some extra marks based on some extra credit questions in the exam and the score of each such extra marks by the students is given in the following .txt file

Input1.txt

Joseph Blake 18 0 20 12

Jonathan Lee 12 10 15 10

Jessica Blake 0 11 20 10

Jonathan Blythe 0 12 0 15

Update the total score of each student in each test using a function and output the new student record as name, updated each of the total four test scores, average test score and grade in an .txt file.

Write the algorithm in a .doc file and C++ code of the problem in a class data structure

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

What is separation of duties?

Answered: 1 week ago

Question

What is heritability?

Answered: 1 week ago