Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "product.h"
- Product::Product() = default;
- Product::Product(std::string type, double price) {
- this->type = type;
- this->price = price;
- }
- std::string Product::GetType() const {
- return this->type;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement