Guest User

Untitled

a guest
Feb 2nd, 2016
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. #ifndef VEHICLES_H
  2. #define VEHICLES_H
  3. #include <iostream>
  4. #include <string>
  5.  
  6. using namespace std;
  7.  
  8. class Vehicles
  9. {
  10.  
  11. protected:
  12.  
  13. string vMake;
  14. string vModel;
  15. double vTopSpeed;
  16. double vEngineSize;
  17.  
  18. public:
  19.  
  20. Vehicles(string, string, double, double);
  21.  
  22. string GetMake();
  23. void SetMake(string);
  24.  
  25. string GetModel();
  26. void SetModel(string);
  27.  
  28. double GetSpeed();
  29. void SetSpeed(double);
  30.  
  31. double GetSize();
  32. void SetSize(double);
  33.  
  34. void Display();
  35. };
  36. #endif
Advertisement
Add Comment
Please, Sign In to add comment