#ifndef PASSENGER_H #define PASSENGER_H #include #include #include using namespace std; enum FlightType {DOMESTIC, INTL}; class Passenger { private: string name; int freqFlyerNum; int numMiles; public: Passenger(string newname, int newFreqFlyerNum); string getName() {return name;} void addMiles(int newMiles) { numMiles += newMiles;} int getMiles() {return numMiles;} bool canFlyFree(FlightType toBuy); void purchaseFreqFlyerTix(FlightType toBuy); }; #endif