Website Summary Files Commits Branches @commit @diff @stats
path: root / Big4_and_inheritance / Students / Student.cpp
blob: 4734529fd1cade46b3d04d231b65d7eae82a5a83 (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);
}