// Bond.h: interface for the Bond class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_BOND_H__4CF7B21B_53FE_11D3_933C_0060674E1056__INCLUDED_)
#define AFX_BOND_H__4CF7B21B_53FE_11D3_933C_0060674E1056__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "Security.h"
#include <iostream>

using namespace std;
class Bond;
ostream & operator<<(ostream &os, const Bond &b);

class Bond : public Security  
{
	double cost;
	double yield;
public:
	Bond(const Bond & b);
	friend ostream & operator<<(ostream &os, const Bond &b);
	double presentValue();
	Bond(double c, double y);
	Bond();
	virtual ~Bond();

};

#endif // !defined(AFX_BOND_H__4CF7B21B_53FE_11D3_933C_0060674E1056__INCLUDED_)
