Implement the save catalogue to file menu option. After selecting this option the user should be asked to specify the name of the save file. All the catalogue data should be stored onto the specified file in the same format as the file loaded in Task 2.
Task 4 [12 marks code correctness]
Implement the display catalogue menu option.
All the attributes of the properties should be displayed as follows:
Number of properties in catalogue = [number of properties]
---------------------------------------------------------------
Address: [Address of property]
Real estate agent: [Real estate agent firstname] [Real estate agent surname]
Number of bedrooms: [Number of bedrooms]
Price: $[Price of property]
---------------------------------------------------------------
....
....
---------------------------------------------------------------
Address: [Address of property]
Real estate agent: [Real estate agent firstname] [Real estate agent surname]
Number of bedrooms: [Number of bedrooms]
Price: $[Price of property]
---------------------------------------------------------------
Note: [Number of properties], [Address of property], [Real estate agent firstname], [Real estate agent lastname], [Number of bedrooms] and [Price of property] have the same meaning as those for task 2.