#pragma once #include "Account.h" #include "Product.h" class Investment : public Product { public: unsigned long long amount = 0; double percent = 0; Account account; Investment() : Product("Инвестиционный продукт") {}; Investment( bool isAvailable, unsigned long long amount, double percent, Account account ) : Product( "Инвестиционный продукт", isAvailable ) { this->amount = amount; this->percent = percent; this->account = account; }; void rebalance() {}; void invest(unsigned long long amount) {}; void withdraw(unsigned long long amount) {}; };