Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Create a class called Student that contains a name ( an array of char) and an st

ID: 3660761 • Letter: C

Question

Create a class called Student that contains a name ( an array of char) and an student id number (type long).
1. Include a member function called get_data( ) to get data from the user for insertion into the object,
2. Also include a function called display_data( ) that displays the student data.
Assume that there are no blanks in the name.

Then write a complete C++ program that uses the class to do some computation. Your main function, main( ), should create a Dynamic Array of type Student after inputting the number of students from the user and then input the data from the user. Once the data has been entered, give the user the following options
a. Display database
b. Display requested student record
c. Delete a student record
d. Modify a student record
Use appropriate constructors and destructors.

Explanation / Answer

#include #include #include using namespace std; class student { private : int sno; char name[20]; public : void Getdata() { cout > sno; cout > name; } void Putdata() { cout
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote