I wanna build a Class called "Building" and each building object
has a number of rooms(int), floors(int), floor area(int) and a heating type(char "e" or "o")
either Electric or Oil. Initial Values should be 0(zero) and "e"
tell me if i got this right or not
Code:#ifndef BUILDING_H #define BUILDING_H class Building { public: // Electric = "E" Oil = "O" Specs(int = 0, int = 0, int = 0, char = "e"); // Heating type void setRooms(int); // set rooms void setFloors(int); // set Floors void setArea(int); // set Area void heatingType(char); // set Heating Type // get functions int getRooms(); // return Rooms int getFloors(); // return Floors int getArea(); // return Area char heatingType(); // return Heating Type private: int Rooms; int Floor; int Area; char Heat; }