// Stock.h: interface for the Stock class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_STOCK_H__4CF7B21A_53FE_11D3_933C_0060674E1056__INCLUDED_)
#define AFX_STOCK_H__4CF7B21A_53FE_11D3_933C_0060674E1056__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "Security.h"
#include <iostream>

using namespace std;
class Stock;
ostream& operator<<(ostream & os, const Stock & s);

class Stock : public Security  
{
	double numberShares;
	double sharePrice;
public:
	void setSharePrice(double np);
	double presentValue();
	Stock(double ns, double pps);
	Stock();
	virtual ~Stock();
	
	friend ostream& operator<<(ostream & os, const Stock & s);
};




#endif // !defined(AFX_STOCK_H__4CF7B21A_53FE_11D3_933C_0060674E1056__INCLUDED_)
