Search property from catalogue , C/C++ Programming

Assignment Help:

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.


Related Discussions:- Search property from catalogue

Define procedure to return the sum of the odd elements, (a) Define a proced...

(a) Define a procedure (deep-member x e) that takes a list x and an element e and returns #t if the element e is in the list or in any lists that the list x contains. e.g., (dee

What is the difference among malloc/free and new/delete?, What is the diffe...

What is the difference among malloc/free and new/delete? A: Malloc/free do not know about destructors and constructors. New & delete create and destroy objects, whereas malloc &

What does extern "c" int func(int *, A: This will turn o_ "name mangling" f...

A: This will turn o_ "name mangling" for func so that one can connect to code compiled by a C compiler.

Execution of string length using pointer hopping, A: #include // Test to...

A: #include // Test to see if pointer hopping is worthwhile. // strlen implemented with usual indexing mechanism. int strlen1( const char str[ ] ) { int i; for( i =

Define passing by reference?, A: Method of passing arguments to a function ...

A: Method of passing arguments to a function that takes parameter of type reference.  for instance: void swap( int & x, int & y ) { int temp = x; x =

C program for function of find the factorial , C Program for FUNCTION OF FI...

C Program for FUNCTION OF FIND THE FACTORIAL float factorial(float); void main() {           float i=0,c=0;           clrscr();           printf("ENTER THE DIGI

Fibonacci series, draw the flow chart to print the fibonacci series upto n ...

draw the flow chart to print the fibonacci series upto n th terms

Luminous Jewels - The Polishing Game, Byteland county is very famous for lu...

Byteland county is very famous for luminous jewels. Luminous jewels are used in making beautiful necklaces. A necklace consists of various luminous jewels of particular colour. Nec

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd