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

Design a Student class for Palomar College. Your Student should include at least

ID: 3563261 • Letter: D

Question

Design a Student class for Palomar College. Your Student should include at least one struct and headers (with explanations) for what the function does, pre and post conditions. Instance variables should be clearly grouped as either public or private as should all functions. It is not necessary that you code out the functions at this point. Nor is it necessary that anything actually happen or even appear at this point when the program is run. For now think of this as akin to an API. Just create a compilable .cpp file.

Explanation / Answer

//////////////////////////////////////////////////////////////////////or use this code

#include<iostream.h>
#include<conio.h>
#include<string.h>
class student
{
int rno,ns;
char name[20];
int *m;
public:
student(int no,char *nm,int nos)
{
rno=no;
strcpy(name,nm);
ns=nos;
m=new int[ns];
}
void get();
void disp();
};
void student::get()
{
for(int i=0;i<ns;i++)
{
cout<<