Create a studentgrade class that includes two data members


How I search the answer for this question:

Create a StudentGrade class that includes two data members: a student ID number and the student's score on a test. Both of these are integers. Include "get" and "set" member functions for each of the data members, plus a displayRecord method which outputs the values in this form:

Student 12345 has a score of 95.

For this program you do not have to do any data validation in the "set" methods. In addition to the class, write a short main function like those in chapter 3 that tests your class. Place your program into three files: main.cpp, StudentGrade.cpp, and StudentGrade.h.

 

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Create a studentgrade class that includes two data members
Reference No:- TGS01183952

Expected delivery within 24 Hours