1) Create a default contructor in the source file, whichwill fill in the default
ID: 3613935 • Letter: 1
Question
1) Create a default contructor in the source file, whichwill fill in the default values of 0, for two test scores and the 4quiz grades. Create 2 instances using this default constructerand display those instances 2)In the Header, create a constructer prototype, which willhave the ability to allow you to fill in the values of each instaceyou create This will allow you to insert value for the test, andquizes for each individual person. 1) Create a default contructor in the source file, whichwill fill in the default values of 0, for two test scores and the 4quiz grades. Create 2 instances using this default constructerand display those instances 2)In the Header, create a constructer prototype, which willhave the ability to allow you to fill in the values of each instaceyou create This will allow you to insert value for the test, andquizes for each individual person.Explanation / Answer
please rate - thanks #include #include using namespace std; class Grades { private: int test1,test2,quiz1,quiz2,quiz3,quiz4; public: Grades() { test1=0; test2=0; quiz1=0; quiz2=0; quiz3=0; quiz4=0; } void Grades::print() {coutRelated Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.