Website Summary Files Commits Branches @commit @diff @stats
path: root / pract_SI / Pract. 10 / task1 / Student.h
blob: 11da143886ad0831e805e6f8c3632bdc0ece2a5a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once
#include <string>

struct Student
{
	//variable Student
	std::string name;
	std::string adress;
	unsigned year;
	float GradeFirstTerm, GradeSecondTerm;

	float calculateFinalGrade(); //среден успех за годината.

	bool checkBirthdate(unsigned _year); // роден преди определена година.

	void enterData();
};