#include <iostream> using namespace std; class gradeRecord { private: string studentID; int units; int gradePoints; public: gradeRecord() { this->studentID; this->units; this->gradePoints; } void updateGradeInfo(int unitsValue, int gradeNum){ units += unitsValue; gradepts += gradeNum; } int gpa() { return gpa; } void writeGradeInfo() { cout <<"What is your student id?" << endl; cin >> studentID; cout <<"What is the units?" << endl; cin >> units; cout <<"What is the grade points?" << endl; cin >> gradePoints; cout <<"What is your gpa?" << endl; cin >> gpa; } int main () { updateGradeInfo(); gradeRecord(); writeGradeInfo(); gpa(); return 0; } };
OGBONNAYA SON NJIOLENAKA AKPARA-JUNIOR
OGBONNAYA SON NJIOLENAKA AKPARA-JUNIOR teaches at Long Island University's Brooklyn campus and is a coordinator in the master's program in business. OGBONNAYAJRAKPARA, LLC study looks at the effects of community-based organizing on maternal and child health outcomes. To learn more about Simone's research, go to www.kingogbinc.blogspot.com
Comments
Post a Comment