Question: please do in C++ Q7. Write a C++ class called student, which stores a student's first and last names as separate private class members and

please do in C++ please do in C++ Q7. Write a C++ class called student, which

Q7. Write a C++ class called student, which stores a student's first and last names as separate private class members and also stores the student's ID your class should also have the following public methods . a default constructor which sets the student's name to empty strings and the ID to zero . a constructor that allows a student object to be initialized with a test name last name and ID aprInt() method, which prints out all student details Q8. Write a separate function (not a class method of the form vold print students (student students . Inte ) which takes an array of student objects your C++ class from 7 ) and prints the details of each student in the array

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!