// Vehicle class definition

  class Vehicle  
  {
   public:   

     // prototypes for member functions (methods)
     
     // get function to retrieve the number of passengers 
     int retrieveValue ();

     // set function to compute and return range 
     int range();       

     // declare constructor and destructor 
     Vehicle(int num_passengers, int gal_fuel_capacity, int miles_gallon);
     ~Vehicle();

   private:   
     // data members (attributes)
     int passengers;     // number of passengers in vehicle
     int fuel_capacity;  // fuel tank capacity in gallons
     int mpg;            // miles per gallon
  };


