A paint calculator that gives the customer the area

Assignment Help Computer Engineering
Reference no: EM132095881

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.

Reference no: EM132095881

Questions Cloud

How many elements in the matching index of the other list : If the lists have the same number of elements: order by how many elements in the matching index of the other list are smaller;
Evaluate the opportunities and threats that exist : The next stage of the marketing audit is for you to consider the market for your organisation and evaluate the opportunities and threats that exist
Write the method called stringsletters : Write the method called Strings.letters(String str) that returns a string of letters that only occur once in str, in the same order that they appear.
Write a program that gets ints from a file : Write a program that gets ints from a file. These are numerators and denominators, and you are to create Fractions.
A paint calculator that gives the customer the area : 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.
Display the percentage of table had been occupied : The input data are randomly generated UNIQUE upper case data names with eight characters in length (Each name has to be unique).
Ongoing presence in the channel : What have some retailers in your area done to justify their ongoing presence in the channel?
Write pseudocode and translate it to c-program : Ask users to input a series of integers. The input will end with the number 0. Assume users will never input more than 10 integers before input 0.
What are the major differences you have experienced : What are the major differences you have experienced in buying a product through a traditional retail store

Reviews

Write a Review

Computer Engineering Questions & Answers

  Define a two-dimensional array data type called chart

Define a two-dimensional array data type called Chart with 30 rows and 10 columns. The component type of the array is type Float.

  Write a program that repeatedly prompts for nonzero integer

Write a program that repeatedly prompts for a nonzero integer to populate an array of size 20, using 0 to signal completion.

  What components and attributes will need to be included

A national builder has hired your software development firm. What components and attributes will need to be included in your home class? Why?

  Plan the decision table with all possibilities

Plan the decision table with all possibilities

  Web security consulting recommendations

Web Security Consulting Recommendations You are a security consultant for a new client in the healthcare industry. You have been asked to design a web solution

  Write a recursive function count-upper-lower

Write a recursive function count-upper-lower that takes a non-empty string as its argument and returns a tuple containing the counts of how many letters.

  What must the first markup output of servlet to a client be

What must the first markup output of a servlet to a client be? What class of object is used to create markup output of a servlet to a client?

  Discuss about the data visualization

As an IT manager, discuss how you would use the materials in communicating IT information to other department.

  When an entity has the relationship to itself

The presence of one or more foreign keys in a relation prevents. When an entity has a relationship to itself, we have a?

  How do they differ from the tools you use

What tools do you find most useful in managing projects

  What query does the proxy rewrite the query

what query does the proxy rewrite the query select SUM (salary) from employee where name

  How would you design system to update complex data structure

Society must also grapple with managing resources. What ways do we use for allocating resources, isolating misuse, and fostering sharing in real life?

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