complete parsing

This commit is contained in:
2024-08-20 02:38:40 +03:00
parent 984102fd64
commit dfa98f758b
8 changed files with 146 additions and 44 deletions

View File

@@ -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() {