The society now wants to extend this system so that they can store information about the name of a house’s owner

The society now wants to extend this system so that they can store information about the name of a

house’s owner (string). Since you used Object Oriented Design, making this change should take no time.
In the main function, after creating the Society object and before society.display, set the owner
names of a few houses, and make sure that society.display displays this information. The main
function will look like this:
int main
{
Society society;
society.set(“A”,”B”,3,17,”Afzal”);
//this sets the owner name of House 17, Street 3, Sector B, Block A to “Afzal”
society.set(“A”,”A”,2,9,”Jamshed”);
society.set(“B”,”C”,4,19,”Muntazir”);
society.display(

Leave a Reply

Your email address will not be published. Required fields are marked *