Website Summary Files Commits Branches @commit @diff @stats
path: root / Big4AndInheritance / Students / Student.cpp
blob: e3d5f0632d35d9f4d96f4658240567f654433cf4 (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)
{
	b.AddGrade(grade);
}