business.h
#ifndef BUSINESS_H
#define BUSINESS_H
#include "customer.h"
#include <string>
using namespace std;
const int INV_SIZE = 10;
const float THING_PRICE = 40.0;
const int MAX_OCCUPANCY = 10;
class Business
{
private:
string m_name;
float m_register;
string m_inventory[INV_SIZE];
Customer m_clientelle[MAX_OCCUPANCY];
short m_num_clients, m_num_inv;
public:
Business(): m_name(""), m_num_clients(0), m_num_inv(0), m_register(0) {}
Business(const string name, const float money, const string fname);
void print() const;
bool acceptCustomer(const Customer& cust);
void make_a_sale();
};
#endif