Premiado

Property listings applications - Repost

For this project I need two slightly different variations of the same base application.

A. Develop an application called agent_report that reads a ‘[url removed, login to view]' file, analyzes the property listed per agent, and outputs a report to an [url removed, login to view] file. Your application should do the following:

1. Prompt the user for the name of the input file ([url removed, login to view]).

2. Use an unbuffered file input stream to open [url removed, login to view] file and read in property listings.

3. Store each property type into a Set.

a. Convert property type to upper case before adding to your Set using method(s) from String class.

b. Sort your Set of property types alphabetically.

4. Use a Map to calculate total property listed in dollars and cents for each agent id. (Note: Agent id would be the key, and accumulated total of property listed would be the value.)

• Sort your Map by agent id.

• Create an [url removed, login to view] file.

5. Use an Iterator to iterate through your Set and write your sorted set of property types sold by the agents to the [url removed, login to view] file using unbuffered file output stream.

6. Iterate through your Map to write your sorted pair of agent id and total property listed to the [url removed, login to view] file using unbuffered file output stream.

B. Modify the above application to develop a second application called prop_overview that reads your [url removed, login to view] file, analyzes the properties listed, and outputs an overview of properties listed to an [url removed, login to view] file. Your application should do the following:

1. Prompt the user for the name of the input file ([url removed, login to view]).

2. Open the [url removed, login to view] file and read in property listing information using a buffered FileReader.

3. Count the total number of property listings for sale.

• Use buffered FileWriter to write the count of the number of property listings to your [url removed, login to view] file.

4. Calculate the total value of property for sale.

• Use a buffered FileWriter to write the total value of properties currently for sale.

5. Store each property id into an ArrayList.

a. Sort the ArrayList of property ids using natural ordering.

b. Use a for-each loop to iterate through the sorted ArrayList and write property ids to [url removed, login to view] file using buffered FileWriter.

6. Use buffered FileWriter to write the total value of the properties listed and the total number of properties currently for sale.

Please see attached files for examples of [url removed, login to view], [url removed, login to view], and [url removed, login to view]

Habilidades: Java

Ver mais: use case map, string iterator, set iterator, property id, property agents, method to write a report, map string, map iterator, iterator string, iterator set, iterator second, iterator map, 5 dollars store, property listing, convert txt files, develop ordering, convert txt report, property listing application, convert file stream string, property sale, class listings, project ordering application, dollars per sale, write string class, property agent

Acerca do Empregador:
( 0 comentários ) Lahore, Pakistan

ID do Projeto: #5081018

1 freelancer está ofertando em média $34 para este trabalho

eperfections

Hired by the Employer

$34 USD em 1 dia
(307 Comentários)
6.9