// File: account.cpp // implementation file for the account class #include "account.h" account::account(double bal) { balance = bal; } account::account(void) { balance = 0; } void account::deposit(double amt) { balance += amt; } double account::getBalance(void) { return balance; }