Update implemented removeCurrency
This commit is contained in:
@ -10,6 +10,9 @@ class Wallet
|
||||
/** insert currency to the wallet */
|
||||
void insertCurrency(std::string type, double amount);
|
||||
|
||||
/** remove currency from the wallet */
|
||||
bool removeCurrency(std::string type, double amount);
|
||||
|
||||
/** check if the wallet contains at least this much currency */
|
||||
bool containsCurrency(std::string type, double amount);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user