English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

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 in Computers & Internet Programming & Design

2 answers

That will not be a database program because no database is involved!

What language is the answer to be coded in?

How will the data be organised?
One line per data item?
This will need x reads per property. Will also leave blank lines where items missing.

One line per property. Will there be fixed size data items or will you have a seperator? The seperator cannot be used in the data item!

2006-06-18 00:02:05 · answer #1 · answered by AnalProgrammer 7 · 0 0

the attempt you position into asking different individuals to do your homework is better than the attempt required to write down this methodology. pay interest in college and then you does no longer could motel to dishonest......and also you would really get the academic you're procuring.

2016-10-14 06:40:10 · answer #2 · answered by ? 4 · 0 0

fedest.com, questions and answers