Calculate the wall area of each room

Assignment Help Computer Engineering
Reference no: EM132077792

You need help with this program in C++

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. Data to be stored for each customer:

1) Customers Name

2) Room Name

3) Length of the room

4) Width of the room

5) Height of 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: EM132077792

Questions Cloud

Develop a plan for addressing issues : Critically evaluate one's own organization - Identify the key areas/issues for strategic improvement - Develop a plan for addressing those issues
Analyse the value of ea for an organisation : MN612 - Enterprise Architecture - Enterprise Architecture Concepts - Analyse the value of EA for an organisation - Lead a discussion on the role of EA
VPN technologies and security issues : MN610 - Virtual Private Networks - VPN Technologies and Security issues - melbourne institute of technology - Analyse and discuss the significance of VPN
Stakeholder analysis and strategy development report : MBA501 - Dynamic Strategy and Disruptive Innovation - Stakeholder Analysis and Strategy Development Report - Prepare a diagram with Snap Inc. as the central
Calculate the wall area of each room : 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.
Compute the expressions that follow in double precision : Compute the expressions that follow in double precision arithmetic for x = 10-1,...,10-14. Display results to all digits (in MATLAB use format long).
Growing at the moment when each side measures 5 inches : If the area of a square is increasing by 10 square inches per minute, how quickly is the length of each side growing at the moment when each side measures 5 inc
Make the sort methods return an integer with this count : For each algorithm, count the number of times it loops (you can make the sort methods return an integer with this count).
Write a program that simulates a lotto : Write a program that simulates a Lotto 6/49. The program should have an array of six integers named lottoNumbers.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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