Develop a java application to meet the requirements

Assignment Help JAVA Programming
Reference no: EM13807804

As a competent programmer, your understanding of control structures, your ability to design and develop algorithms, and your proficient use of data structures will help you design and develop applications to meet customer requirements. You will need to develop a Java application to meet the requirements of this assignment. It is recommended that you use NetBeans (see web link below for download) to develop this.

You will use the following scenario to complete the task:

Your client is a real estate office manager who needs to run reports on property listings. You will build two applications that will provide two different reports. One report is focused on the amount of property an agent is selling. The other report provides an overview of the types of property for sale.

Your listings file will contain property number, property type, price, and agent id.

Task:

A. Develop an application that reads your listings.txt file, analyzes the property listed per agent, and outputs a report to an agentreport.txt file. Your application should do the following:

1. Prompt the user for the name of the input file (listings.txt).

2. Open listings.txt 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.

• Sort your Map by agent id.

• Create an agentreport.txt file.

5. Use an Iterator to iterate through your Set and write your sorted set of property types sold by the agents to the agentreport.txt file.

6. Iterate through your Map to write your sorted pair of agent id and total property listed to the agentreport.txt file.

B. Develop an application that reads your listings.txt file, analyzes the properties listed, and outputs an overview of properties listed to an overview.txt file. Your application should do the following:

1. Prompt the user for the name of the input file (listings.txt).

2. Open the listings.txt 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 overview.txt 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 overview.txt 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.

Reference no: EM13807804

Questions Cloud

How hospitality and tourism different in social impacts : Write an essay will compare two regions to determine how hospitality and tourism are different in regards to economic, cultural and social impacts and secondly Why these areas are important to each region.
Predicting the future of iran : Predicting the Future of Iran
Different types of contracts : We have spent time discussing the delivery methods for a project. Now it's time to focus on the different types of contracts that are associated with construction projects. The project owner must decide which type of contract to use. The contract ..
The estimated population mean based problems : If we select a random sample of 50 households, what is the standard error of the mean?
Develop a java application to meet the requirements : As a competent programmer, your understanding of control structures, your ability to design and develop algorithms, and your proficient use of data structures will help you design and develop applications to meet customer requirements. You will ne..
Global economy-between free trade and protectionism : Globalization was welcomed around the world at the beginning of the 1990s. Different trade theories were used to explain benefits of free trade and market liberalization. However, by the end of the twentieth century, voices of discontent were begi..
Organization''s strategic management process : Describe how key internal factors are identified in an organization's strategic management process. Why does such identification appear to be an important part of the strategic management process?
Careers in human services : Careers in Human Services
Widgets r us experience communication issues : It is clear that Widgets R US is a functional organization because it indicated that lots of information gets kicked upstairs and no one seems to know what is happening. If you are running projects in a functional organization like Widgets R US wh..

Reviews

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

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