Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef PRODUCT_H
- #define PRODUCT_H
- #include <iostream>
- #include <string>
- using namespace std;
- class Product
- {
- Product();
- public:
- Product(int ccode, string nname, double pprice);
- int getCode();
- string getName();
- double getPrice();
- virtual ~Product();
- protected:
- private:
- int code;
- string name;
- double price;
- };
- #endif // PRODUCT_H
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement