Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef STOREINFO_H
- #define STOREINFO_H
- #include <string>
- using namespace std;
- struct GrListItem{
- public:
- string name;
- int quantity;
- float regPrice;
- float salePrice;
- bool onSale, isOnSale;
- typedef enum taxCategory { alcohol, food, genMerchandise, medicine } taxCategory;
- // Receipt information
- string storeName;
- string storeAddress;
- };
- class GrItem{
- public:
- // Constructor
- GrItem(string, int, float, float, bool, enum GrListItem::taxCategory);
- GrItem();// Default constructor
- };
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement