Advertisement
Guest User

Untitled

a guest
Nov 14th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.39 KB | None | 0 0
  1. #ifndef POBIPROJECT_MOTORVEHICLE_HPP
  2. #define POBIPROJECT_MOTORVEHICLE_HPP
  3.  
  4. #include "vehicle.hpp"
  5.  
  6. class MotorVehicle : public Vehicle
  7. {
  8. private:
  9.     const int m_engineDisplacement;
  10.  
  11. public:
  12.     MotorVehicle(const int baseRentPrice, const std::string &id, const int engineDisplacement);
  13.  
  14.     const int getBaseRentPrice() const override;
  15. };
  16.  
  17.  
  18. #endif //POBIPROJECT_MOTORVEHICLE_HPP
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement