structure, layout, parser and its modules

This commit is contained in:
2024-08-19 02:35:16 +03:00
parent d41144a634
commit ffbc929472
258 changed files with 5830 additions and 461 deletions

24
goods/goods.h Normal file
View File

@@ -0,0 +1,24 @@
#ifndef GOODS_H
#define GOODS_H
#include <string>
class Goods
{
std::string name;
double quantity; // by weight or by the piece
double price_per_unit;
public:
Goods(std::string, double, double);
double calculate_total_price();
std::string get_name();
double get_quantity();
double get_price_per_unit();
void set_name(std::string);
void set_quantity(double);
void set_price_per_unit(double);
};
#endif // GOODS_H