Commited the Bank::setTax Method that was missing.

This commit is contained in:
Gustavo Henrique Santos Souza de Miranda 2024-09-27 17:07:17 -03:00
parent db58957c85
commit 2b2d4931fc
1 changed files with 4 additions and 0 deletions

View File

@ -25,4 +25,8 @@ int Bank::getMoney() {
void Bank::updateMoney() {
money = std::round(money * (1+tax));
}
void Bank::setTax(double value) {
tax = value;
}