remove ignored pt.2

This commit is contained in:
2024-11-22 23:26:42 +03:00
parent 63e4c1382f
commit 9ba8a513e5
58 changed files with 5609 additions and 0 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