School Commit Init
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
#pragma once
|
||||
#include <string>
|
||||
|
||||
class Participant
|
||||
{
|
||||
private:
|
||||
std::string _name;
|
||||
int _score;
|
||||
public:
|
||||
Participant(std::string name);
|
||||
Participant();
|
||||
~Participant()=default;
|
||||
std::string name();
|
||||
int score();
|
||||
void name(std::string name);
|
||||
void score(int score);
|
||||
};
|
||||
Reference in New Issue
Block a user