Answer:
Check attached file 
Step-by-step explanation:
#include
#include
#include
#include
 
using namespace std;
 
class stockType
public:
stockType();
stockType(string stockSymbol,double OPrice,double CPrice,double THPrice,double TLPrice,double YCPrice,int shares);
 
void setStockSysmbol(string stockSymbol);
void setOPrice(double OPrice);
void setCPrice(double CPrice);
void setTHPrice(double THPrice);
void setTLPrice(double TLPrice);
void setYCPrice(double YCPrice);
void setShares(int shares);
 
 
string getStockSysmbol();
 
double getOPrice();
 
double getCPrice();
double getTHPrice();
double getTLPrice();
double getYCPrice();
 
int getShares();
 
friend istream& operator>> (istream& is, stockType& a);
friend ostream& operator< (ostream&="" os,="" const="" stocktype&="">
 
bool operator ==(stockType s)
if(stockSymbol.compare(s.getStockSysmbol())==0)
return true;
else
return false;