Question
Solution Preview
This material may consist of step-by-step explanations on how to solve a problem or examples of proper writing, including the use of citations, references, bibliographies, and formatting. This material is made available for the sole purpose of studying and learning - misuse is strictly forbidden.
1.#pragma once
#include <string>
using namespace std;
class student
{
public:
student(void)
{
}
student(string name, int id, int credits, double avg)
{
this->name = name;
this->ID = id;
this->credits = credits;
this->GPA = avg;
}
virtual ~student(void)
{
}...