Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef STOCK_H
- #define STOCK_H
- #include <string>
- using namespace std;
- class Stock
- {
- public:
- Stock();
- friend ostream& operator<< (ostream& out,Stock a);
- protected:
- string Item [10] = {"Cheetos","Doritos","Chips","Cola can","Pepsi can","Chocolate","Snickers","Twix","Ulker","Waver"};
- int Amount[10] = {10,10,10,10,10,10,10,10,10,10};
- double price [10] = {4,5,7.5,4,4,6.5,8.5,7,2.5,10};
- };
- #endif // STOCK_H
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement