// CashAccount.cpp: implementation of the CashAccount class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "CashAccount.h"

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

CashAccount::CashAccount() : balance(0)
{

}

CashAccount::~CashAccount()
{

}

CashAccount::CashAccount(double b) : balance(b)
{

}

ostream & operator <<(ostream &os, const CashAccount &a)
{
	return os << "CashAccount: balance=" << a.balance;
}

double CashAccount::presentValue()
{
	return balance;
}
