MCPcopy Create free account
hub / github.com/Rustam-Z/cpp-programming / FreshGroceries

Method FreshGroceries

Lab_21/e-commerce.cpp:133–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131public:
132
133 FreshGroceries() {
134 price = 0.0;
135 quantity = 0;
136 quantity_purchased = 0;
137 }
138
139 FreshGroceries(string name, string UIC, double price, int quantity, int quantity_purchased) : Item(name, UIC) {
140 this->price = price;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected