Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Review the following C++ program and fill in the blanks at the end of this question that correspond to the number on each yellow blank
Review the following C++ program and fill in the blanks at the end of this question that correspond to the number on each yellow blank line in the program.
includes 10s treaia // Operations includeccstring> student.h /I The following procedure simulates the system to read a //database/data file which records information of students using namespace std; InitStudent (int SN) Student_Number-S_N /I The header file of the class STUDENT used is included if (Student Number--1) (Student Name, "John redit _Earned-60; strcpy (Student Phone, "123-1234 ") printf("Student Name Credits Needed for Graduation n"; printf n if (Student Number--2) strepy (Student Name, "Anne Credit Earned-123; strcpy (Student Phone, "123-2345"); for (int i-1; i-3; 1+) STUDENT Student. InitStudent (i) printf ("Xs , Student.ReturnStudent Name()) if (Student Number--3) strcpy(Student Name, "Greg Credit Earned-90; printf("X4d ", Student.Credit_Due)) strcpy (Student_Pho "123-7890 "); Class STUDENT definition /I File is "student.h" class STUDENT /I Class declaration /I Next are methods of the STUDENT class.. char *ReturnStudent_Name() return Student_Name;; private: IAttributes ReturnStudent_Phone() Student Number; Student_Phone;; 5- int Student-Name[20]; Credit Earned; int ReturnCredit Earned() Student Phone[15]; return Credit Earned; char public: C) int int Due Amount; if (Credit-Earned)Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started