//Constructors
//Create a basic constructor that initializes the fuel to be 50 litres;set colour= 1;//red
eg usage: cCar myNewCar();
//Create another constructor that allows you to initialize the fuel to whatever you want. Set colour to any value (1,2,3,4,5,6,7)
//Exercise:
//Add a toot! method that toots the horn
//Add attribute and its set/get methods: fuel level 50 litres max

#include <iostream>
using namespace std;

class cCar
{
public:
	void setColour(int);
	int getColour(void);
private:
	int colour;
};

int main(void)
{
	cCar myCar;
	myCar.setColour(1);
	cout << myCar.getColour() << endl;
	return 0;
}


void cCar::setColour(int x)
{
	colour = x;
}

int cCar::getColour(void)
{
	return colour;
}