// Savings.h: interface for the Savings class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_SAVINGS_H__4CF7B21E_53FE_11D3_933C_0060674E1056__INCLUDED_)
#define AFX_SAVINGS_H__4CF7B21E_53FE_11D3_933C_0060674E1056__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "CashAccount.h"
#include <iostream>
using namespace std;
class Savings;
ostream & operator<<(ostream & os, const Savings & s);

class Savings : public CashAccount  
{
	double interest;
public:
	friend ostream & operator<<(ostream & os, const Savings & s);
	Savings(const Savings & s);
	Savings(double bal, double i);
	Savings();
	virtual ~Savings();

};

#endif // !defined(AFX_SAVINGS_H__4CF7B21E_53FE_11D3_933C_0060674E1056__INCLUDED_)
