Starting from:

$35

CS3358-Assignment - 2  Solved

  Programming 
 

     Using C++ , design an Abstract Data Type class named MyGrades. The class must have the following private members :

·                Vectors to hold grades for Programming Assignments and Midterm Exams

·                Programming Assignments will count as 20 % , Exam 1 will count as 20 % , and Exam 2 will count as 25%..

In Addition , the class should have the following seven member functions :

·                Set Programming Assignment Grades

·                Set test grades

·                Show all programming assignment grades and calculating the average.

·                Show all test grades

·                Show overall grades

·                Delete A Programming Assignment Grade

·                Delete A Test Grade

Notes :

·                Must define a class and its functions, followed by implementation of class functions, and finally followed by main program to run the program. All in one .cpp.

·                Programming assignments and test grades must be defined as double. Characters and other form must be rejected.

·                Selection must be 1 — 7 and 9 . Otherwise it is rejected.

·                Program must continue until the user enters 9 to exit the program

·                 Output values must include 2 numeric values after the decimal point.

More products