School Commit Init

This commit is contained in:
2024-08-31 12:07:21 +03:00
commit 0b130ee18c
2801 changed files with 4720552 additions and 0 deletions
@@ -0,0 +1,34 @@
#include "Participant.h"
Participant::Participant(std::string name)
{
this->_name = name;
this->_score = 0;
}
Participant::Participant()
{
this->_name = "";
this->_score = -1;
}
std::string Participant::name()
{
return this->_name;
}
int Participant::score()
{
return this->_score;
}
void Participant::name(std::string name)
{
this->_name = name;
}
void Participant::score(int score)
{
this->_score = score;
}