#include "BankAccount.h"

BankAccount::BankAccount(double initialAmount)
{
  balance = initialAmount;
}

void BankAccount::deposit(double amount)
{
  balance += amount;
}

void BankAccount::withdraw(double amount)
{
  balance -= amount;
}

double BankAccount::getBalance()
{
  return balance; 
}

