complete parsing
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
#include "goods.h"
|
||||
#include <string>
|
||||
|
||||
Goods::Goods(std::string name, double quantity, double price_per_unit) {
|
||||
Goods::Goods(std::string name, double price_per_unit, double quantity) {
|
||||
this->name = name;
|
||||
this->quantity = quantity;
|
||||
this->price_per_unit = price_per_unit;
|
||||
this->quantity = quantity;
|
||||
}
|
||||
|
||||
double Goods::calculate_total_price() {
|
||||
|
||||
Reference in New Issue
Block a user