Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef VEHICLES_H
- #define VEHICLES_H
- #include <iostream>
- #include <string>
- using namespace std;
- class Vehicles
- {
- protected:
- string vMake;
- string vModel;
- double vTopSpeed;
- double vEngineSize;
- public:
- Vehicles(string, string, double, double);
- string GetMake();
- void SetMake(string);
- string GetModel();
- void SetModel(string);
- double GetSpeed();
- void SetSpeed(double);
- double GetSize();
- void SetSize(double);
- void Display();
- };
- #endif
Advertisement
Add Comment
Please, Sign In to add comment