Problem Description:
You are to write a property management database program that allows a real estate agent to view, add, search, and save property listings.
The program is to do the following:
1. On start-up, the program is to prompt the user for the property listings filename (the sample file provided is called properties.txt). The file contains the street address, suburb and price (in dollars) of each property listed by the agent. Once opened, the program is to read the address, suburb and price of each property from the file into an array of structures (structs).
A number of sample lines from this file appear below:
10 Napier St.
Palm Cove
350000
47 Darkien Cl.
Smithfield Heights
265000
2. Once you have read in all of the relevant details, the program is to display a menu and prompt the user for their selection, as follows:
Menu:
1 - List all properties
2 - Property search
3 - Add a property
4 - Save property list
5 - Exit
Please enter option:
2006-06-17
21:09:11
·
2 answers
·
asked by
Anonymous