Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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. // Operations includec c string> student.h // The following procedure simulates the system to reada /Idatabase/data file which records information of students using namespace std; LInitStudent(int SN) { /I The header file of the claSs STUDENT used is included Student Number-SN if (Student Number--1) (Student Name, "John redit Earned-60 strcpy (Student Phone, "123-1234 ; printf "Student Name Credits Needed for Graduation n); printf( "); if (Student Number-2) strcpy (Student Name, "Anne Credit Earned-123; strcpy (Student Phone, "123-2345 ; for (int i-i; i(#3; i++) STUDENT Student.InitStudent (); printf ( if (Student Number--3) Student.ReturnStudent Name)) { -Greg strcpy(Student-Name, Credit Earned-90; printf(XAd n, Student.Credit Due)) strcpy (Student Phone, "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 ReturnStudent Phone() /I Attributes O Student Phone;); Student Number 5StudentName [ 20]; Credit Earned; int ReturnCredit Earned() int char Student Phone[15): return Credit Earned; public: int LL- -() { int Due Amount; if ((Credit-Earned)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions