provide a practical implementation in C++

Detail Description:
You are required to give C++ implementation of following classes:

1. User
2. Buyer
3. Tenant
4. Owner

Following is the description of all data member and member functions of respective classes:

 User
Implement User class as an abstract class having Pure virtual function “Search ()”. Along with this, implement all required data member and member functions (whether given in object model or not).

 Buyer
Implement buyer class as a concrete class. In which you have to provide implementation of an override function “search ()”. A buyer can search a plot or house on the basis of:

Society Name where plots or houses exist
Type of property (commercial or residential)
Area of plot/house

Note: For this part of assignment, you have to take Type of property, area and Society name as input from user.

In “Buy ()” method, check if search is successful then prompt user that you can buy this property.

 Owner
Implement owner class as a concrete class. Owner can advertise his/her property for to be rented and as well for selling purpose. Their property may include houses for residential purpose while plots for both residential as well as for commercial purpose.
Owner will make an advertisement on portal having following information:

Town/Society Name where plot or houses exist
Type of property (commercial or residential)
Area of plot/house

Note: For this part of assignment, you have to take Type of property, area and Society name as input from user.

In “RentOut()” method, Owner will take the required property and tag it as “rented property”.

In “Sell ()” method, Owner will take the required property and tag it as “Sold”.


 Tenant:
Implement tenant class as a concrete class. In which you have to provide implementation of an override function “search ()”. A tenant can search a plot or house on the basis of:
Society Name where plots or houses exist
Type of property (commercial or residential)
Area of plot/house

In “TakeOnRent()” method, Tenant will check if search is successful then user should be prompted with message that you can take this property on rent.

What do you want from us?
The implementation.
Yeah thats going to happen.
Topic archived. No new replies allowed.