Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

Create a C++ a program for Best Fence and Landscaping Company. The company needs an application that the salespeople can use to estimate the cost of laying sod and the cost of installing a fence for a rectangular lots. These options require to be able to find the area of rectangle on which sod is to be laid , and the perimeter of a rectangular lot.

To implement the application - create a Rectangle class that contains the proper attributes and behaviors of rectangle , and then use it create rectangle objects to facilitate the business tasks. The attributes should be implemented as private data members, with proper access methods. Behaviors should, as minimum, include calculating and returning the area, calculating and returning the perimeter. Include the proper constructor(s) to initialize data members. Include validation to ensure that the data values passed to Rectangle attributes cannot be negative.

Write the driver class for the application which allows a user to enter rectangle dimensions in feet, sod price per square foot, and fence cost per yard. Create two Rectangle class objects allowing a sod covered area to be different from the fence enclosure area. Calculate the cost of sod part of the job, fence part of the job and total cost estimate to be presented to a client.

Display the input data, with proper labels, the costs of sod and fence jobs separately, total cost of the job. Accept a user data as an input, the date of estimate, and generate the proper invoice for a user, including sod covered area in square yards, fence length in yards, pretax and after tax costs of the work.

Bonus : use arrays to generate and present several options to user, which will differ in areas of sod coverage and fence enclose.

Deliverable:

1. Source code files for the project (header, implementation, test program)

2. Well-written word document describing:

2.1. Your overall design

2.2 Your test plan, including test data and results

2.3 Your approach, lessons learned, design strengths specifically
comparing the benefits of this final version with the earlier versions, limitations and suggestions for future improvement and alternative approaches.

3. UML class diagram illustrating the structure of this program.

Documentation format and length:
produce a short document (3 to 5 pages long) explaining design and testing of your program. The document should comply to the professional APA style.

Code format:

---Header comment block,

---Appropriate comments within the code,

---Appropriate variable and function names, and correct indentation.

Computer Engineering, Engineering

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

Have any Question?


Related Questions in Computer Engineering

Question suppose you are developing a program that

Question : Suppose you are developing a program that frequently tests whether a student is in a soccer team, what is the best data structure to store the students in a soccer team? Justify your answer.

Using the following dataa sex- 7 males 1 female height-

Using the following data, A.) (Sex)- 7 males, 1 female. (Height)- 72,67,72,64,66,68,68,70. (Left or right handed)- 7 right handed, 1 left handed. Let's assume our class is truly representative of the population at large. ...

Suppose circle is a class derived from the class point now

Suppose, Circle is a class derived from the class Point. Now consider the following statements: Point p[] = new Point[12]; P[0] = new Circle(); Now suppose Circle has a method Area() computing are of a circle, and Point ...

Systems analysis and design projectpersonal trainer inc

Systems Analysis and design project Personal Trainer, Inc. owns and operates fitness centers in a dozen Midwestern cities. The centers have done well, and the company is planning an international expansion by opening a n ...

Question you recently have been hired as the director of

Question: You recently have been hired as the Director of Systems Administration operations for ViralMedia, a provider of software tools for graphics artists. The company's core product, DigiWorld, runs under Windows and ...

On microsoft word what would be the advantage of using the

On Microsoft word, what would be the advantage of using the dialog box over setting various tabs directly on the ruler line? In what types of typing tasks would you find using the ruler line helpful?

Systems analysis projectpersonal trainer inc owns and

Systems analysis project Personal Trainer, Inc. owns and operates fitness centers in a dozen Midwestern cities. The centers have done well, and the company is planning an international expansion by opening a new "superce ...

Question after reviewing the assigned reading materials

Question: After reviewing the assigned reading materials, complete the following activities: 1. Develop a product service idea. A. Describe the product/service including the benefits of using the product/service B. Discu ...

Objectivesthis assessment relates to the unit learning

Objective(s) This assessment relates to the unit learning outcomes as in the unit descriptors. It tests your understanding about Windows Server 2012r2 administration. Assignment Details Select one of the following system ...

Question suppose that new more powerful arithmetic

Question : Suppose that new, more powerful arithmetic instruction are added to the instruction set. On average, through the use of these more powerful arithmetic instructions, we can reduce the number of arithmetic instr ...

  • 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