Example #1
0
void printHouse(House house) {
	//print the house information using
	//the dot operator
	cout << "House Color: " << house.getColor() << "\nNumber Bathrooms: "
			<< house.getNumBath() << "\nNumberBedrooms: " << house.getSqft()
			<< endl;
	cout << "Floors: " << house.getFloors() << "\nSquare feet: "
			<< house.getSqft() << endl;
	cout << "Total Square feet: " << house.gettsquareFeet() << endl;

	cout << endl << endl;

	//since it is a void function,
	//I do not need a return statement
}