Website Summary Files Commits Branches @commit @diff @stats
path: root / Week05 / Exercise03 / TaxReport.cpp
blob: 2ff321ff6ff56cc0d452f552cc6977ce6fe2f121 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#include "TaxReport.h"
#include <iostream>

TaxReport::TaxReport(unsigned long long PN, unsigned short year, double income, double taxRate) {
	this->PN = PN;
	this->year = year;
	this->income = income;
	this->taxRate = taxRate;
}

unsigned long long TaxReport::GetPN() const {
	return PN;
}

unsigned short TaxReport::GetYear() const {
	return year;
}

double TaxReport::GetIncome() const {
	return income;
}

double TaxReport::GetTaxRate() const {
	return taxRate;
}