Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

Please help me with this JAVA Program.

This project will be a Paint Calculator that gives the customer the area in square feet to be painted. You will store the customer name, and details about each room in the customer's house.

From that information, you will calculate the wall area of each room and a total for the
whole house. The data will need to be stored in a file so that you can retrieve information for each customer's paint requirements.

This project has these requirements:

1. Assume you are creating this program for a paying customer, and therefore it should look, act, and be professional.

2. Assumptions: No more than 10 customers with a maximum of 4 rooms each. Make sure your code is flexible and can handle 1-10 customers and each customer can have 1-4 rooms. The data will be written to and read from a file named: "CustomerData.txt"

3. It is assumed that all measurements are in feet and that each room is a rectangle with a given height. Do not worry about areas in the room that would not be painted such as ceiling, floor, doors, windows, etc.

4. All output must be formatted in a logical straightforward format. All input should have proper prompts for the user and checking for valid input.

5. On start-up, the program should read in any existing data from the file "CustomerData.txt". You can only read from the file once at start-up and can only write to the file when the user selects user item 2. "Save All Data"

6. You must use parallel arrays to store the data. (Extra Credit use an array of objects to store the data)

7. Create a CustomerData.txt file with 10 Customers including Customers Name, Room Name, Length of the Room, Width of the room and Height of the room.

8. You must create a looping menu system resembling the following:

1. Create Customer - allow user input of all items in requirement 7 above. Input must allow measurements in feet up to 1 decimal place i.e. Length = 6.5.

2. Save All Data

3. Print Customer Details - allow input of 1 customer name and print out the customer name on 1 line then the details of each room including area on separate lines. The final line should be the total area for the customer.

4. Print All Unique Customer Names

5. Delete Customer - input customer name and delete that customer's data from the file and current data in memory.

6. Extra Credit - Sort Data - sort the data by customer name and also sort the data before it is stored in the file.

7. The program must be modular using at least 2 classes including 1 class that reads in and takes care of the customer's details and another class that deals with input/output from the file.

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M93083352

Have any Question?


Related Questions in Computer Engineering

Sketch out a simple network management system for ndas what

Sketch out a simple network management system for NDAS. What software and hardware support would you recommend? Be sure you justify the information items collected and reported for this system, as well as your software a ...

A what is gdp deflator and how is it calculatedb if gdp

(a) What is GDP deflator and how is it calculated? (b) If GDP deflator for the year 2014 and 2015 are 105 and 108 respectively, then calculate the increase in price level between 2014 and 2015.

Explain that our ability to secure each computers stored

Explain that our ability to secure each computers stored information is now influenced by the security on each computer to which it is connected

Why is scenario manager useful to a manager wanting to use

Why is Scenario Manager useful to a manager wanting to use a model developed with Excel to help make a business decision such as whether to expand his business? When should a manager use the Excel Solver?

Starbucks the enclosed is the strategy definition for

Starbucks: The enclosed is the Strategy Definition for Starbucks. ( 1-2 pages rought draft) Using one of the cases studies in the text or one identifed by the team on its own, prepare a report addressing the following ke ...

Suppose that a large integer k is represented in twos

Suppose that a large integer k is represented in two's complement form. It may be negative, zero, or positive. We say that k is even if and only if |k| mod 2 = 0. How can we quickly test if k is even without using arithm ...

Frontier services has a 2000 pure discount bond that comes

Frontier Services has a $2,000 pure discount bond that comes due in one year. The risk-free rate of return is 4 percent. The firm's assets are expected to be worth either $2,800 or $1,600 in one year. Currently, these as ...

What does the super keyword represents and where can it be

What does the super keyword represents and where can it be used? Give an example of a superclass and subclass. Be sure to make all the instances variables of the super class private. Include at least one constructor in e ...

Regional blocs like the eu are straining the british have

Regional blocs like the EU are straining. The British have voted to Brexit! What has caused the tension and what does the future hold - for Brexit and beyond?

Question write a 12-15 page analysis explaining your

Question: Write a 12-15 page analysis explaining your business venture. Include a SWOT (strengths, weaknesses, opportunities and threats) analysis of your business venture, it's industry, a customer analysis, marketing p ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As