#include <string>
#include <iostream>
#include "Score.h"
using namespace std;

Score::Score(string name, int math) {
    this->name = name;
    this->math = math;
}
void Score::setName(string name) {
    this->name = name;
}
void Score::setMath(int math) {
    this->math = math;
}
string Score::getName() {return name;}
int Score::getMath() {return math;}
void Score::print() {
    cout << name << ' ' << math << endl;
}