A calculator that gives the customer the area in square feet

Assignment Help C/C++ Programming
Reference no: EM132096019

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.

9. 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: EM132096019

Questions Cloud

Create a main method and use these input files to test : Create a main method and use these input files to test that you are able to input the Undergraduates, put them into an ArrayList, print out the list.
Explain and demonstrate how bayes theorem works : Could you explain and demonstrate how Bayes' Theorem works? It would be nice if you could explain mathematical notations used in the equation of the Bayes'
Create an array to hold four movie objects : Create an array to hold four movie objects and fill the array with objects: two movies and two documentaries.
Compute the difference as device a minus device b : ?Construct a 99% confidence interval about the population mean difference. Compute the difference as device A minus device B.
A calculator that gives the customer the area in square feet : Assume you are creating this program for a paying customer, and therefore it should look, act, and be professional.
Conclusion that addresses the original claim : A recent broadcast of a television show had a 10 ?share, meaning that among 5000 monitored households with TV sets in? use,10?% of them were tuned
Conform to the specifications of the coin? mint : Do the coins appear to conform to the specifications of the coin? mint?
Analyze starbucks methods for fixed asset : MBA 503 Final Project Assignment, Southern New Hampshire University, USA. Analyze Starbucks' methods for fixed asset and intangible asset acquisitions
Calculates the cost of putting a fence all the way around : Input consists of the length and width of the yard and the radius of the flower bed (all double and all in feet).

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

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