Website Summary Files Commits Branches @commit @diff @stats
path: root / Big4AndInheritance / Students / Student.cpp
blob: c7180c8dba9fd3f9b5af33068e9fd1798fc8ccb4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#include "Student.h"
Student::Student(const char* name, int age, int fn): User(name,age)
{
	this->fn = fn;
}

void Student::ReceiveGrade(int grade)
{
	book.AddGrade(grade);
}