Implement the search property from catalogue menu option. After selecting this option the user should be asked to specify the property using the following sub-menu:
1. Specify address
2. Specify real estate agent first name
3. Specify real estate agent last name
After choosing one of the above sub-menu options, the user should be asked to type in a string to be used for finding the property. Note the string has to completely match the relevant property attribute. Partial match is not considered a match.
In the following example the user strings does not match the corresponding properties:
User types in for property address: 32 Bugden Ave, Forest Hill, VIC 3108
Actual property address: 32BugdenAve,ForestHill,VIC3108
User types in for real estate agent first name: peters
Actual real estate agent first name for property: peter
User types in for real estate agent surname: peter
Actual real estate agent surname for property: peterson
The search should be case insensitive. Therefore the following does match:
User types in for real estate agent first name: peter
Actual real estate agent first name for property: peTer
User types in for property address: 32 bugden ave, forest hill, vic 3108
Actual property address: 32 Bugden Ave, Forest Hill, VIC 3108
The matching properties found should be displayed onto the screen in the same format as task 4. If more than one matching properties is found then all matching properties should be displayed.