New version of the area calculation program

Assignment Help Basic Computer Science
Reference no: EM131204291

Assignment Overview

For this assignment, you will write a new version of the area calculation program from  the calculation you did for me 2 weeks ago that makes use of inheritance in C++. Add a new Shape base class to the area calculation program that includes data members common to all shapes (such as a shape ID, a shape type, and a unit of measure).

Part 1: Write the Application

Write a new version of the area calculation program from previous calculation assignment you done for me  that makes use of inheritance in C++.

  • Add a new Shape base class to the area calculation program that includes data members common to all shapes (such as a shape ID, a shape type, and a unit of measure).
  • The Shape base class should also include a virtual getArea() member function.
  • Revise the Circle and Square classes so that they inherit from the Shape base class.
  • Add a third shape to the program that also inherits from the Shape class.
  • The finished program should ask the user to enter the relevant information for each shape and then print the area and other information for each shape.

You will use the Code::Blocks software to write this application. Access this software via the Toolwire virtual desktop activity link in this unit. Be sure to organize the code correctly into header (.h) and implementation (.cpp) files. Your code should include meaningful comments and be correctly formatted.

Part 2: Describe the Application

Write a 3-5-page paper in which you complete the following:

  • Define and document the requirements for the calcMortgage application.
  • Describe the stakeholders needed to help further define the application.
  • Describe a collaboration plan for working with stakeholders.
  • Explain your object model and inheritance.
  • Explain how your application works and any issues you encountered with the application.
  • Include a screen shot of your application, using the Print Screen function, to show that your application works.

Reference no: EM131204291

Questions Cloud

How might democratic states avoid a protectionist backlash : International Trade - Assignment How might democratic states avoid a ‘protectionist backlash' against free trade and If there are gains from trade liberalisation, then why do countries so often choose protectionism?
Compute the revised annual depreciation : On January 1, 2014, the Ferman Company ledger shows Equipment $37,900 and Accumulated Depreciation $14,124. The depreciation resulted from using the straight-line method with a useful life of 10 years and a salvage value of $2,590. On this date, the ..
Would be considered negligent in this situation : If the police searching the home found drugs or other unrelated incriminating evidence during the search, would it be morally permissible to use the evidence against them?
How did changes in the character of wonder woman over time : How did changes in the character of Wonder Woman over time reflect political and cultural developments in the US? Who was Jeannette Rankin? What challenges did she face when she entered politics?
New version of the area calculation program : For this assignment, you will write a new version of the area calculation program from  the calculation you did for me 2 weeks ago that makes use of inheritance in C++. Add a new Shape base class to the area calculation program that includes data ..
Do you agree with the court decision : Find a Supreme Court case that deals with a constitutional issue (either pending or already decided). Briefly describe the issue. Do you agree with the Court's decision (or if it hasn't been decided how do you think the case should be decided)? W..
Problem regarding the course wrap-up : Discuss how you can apply at least four of the weekly course learning outcomes throughout this course to your professional or personal life.
Job-order costing system to accumulate manufacturing costs : Finlon Upholstery, Inc. uses a job-order costing system to accumulate manufacturing costs. The company’s work-in-process on December 31, 20x1, consisted of one job (no. 2077), which was carried on the year-end balance sheet at $156,800. Determine the..
Discuss two security issues related to the researched : From the e-Activity, discuss two security issues related to the researched technologies. Select a Wi-Fi device you are familiar with and analyze the security protection currently implemented on the device. Speculate whether the protection on the se..

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Report writing on wearable computers

What are wearable computers and how are they currently being used. You should explore a range of applications of wearable computers, for example, in areas such as healthcare, the military and entertainment.

  Each of the conditional jump statements causes a jump to des

Assume for each part of this problem that the EAX register contains 00 00 00 4F and the doubleword referenced by value contains FF FF FF 38.

  Multiplying monomials and polynomials

Do you always use the property of distribution when multiplying monomials and polynomials? Explain why or why not. Give examples that you have created. In what situations would distribution become important?

  Justify legacy system interface requirements

An analyst must consider several issues that will affect the architecture choice. I need to know if all items below are of equal weight and importance, or should some be ranked higher? Justify your position.

  The logic structure to capture the payment information

Document the steps for the logic structure to capture the payment information. This can be done as either a flowchart or pseudocode. Be sure to include inputs, variable declarations and assignments, and outputs.

  Find all basic flow vectors and their associated trees

Find all basic flow vectors and their associated trees. Specify which of these are feasible and which are strongly feasible (the root node is node 1).

  Non-negative numbers by using repeated additions

Write a MARIE program using a loop that multiplies 2 non-negative numbers by using repeated additions. For example, to multiply 3 x 6, the program would add 3 six times (e.g. 3 + 3 + 3 + 3 + 3 + 3) or add 6 three times (e.g. 6+6+6).

  Determine the type of damping for the equation

There are three types of damping: underdamped, critically damped, or overdamped. Determine the type of damping for the following second-order differential equations

  Good reasons to use an object-oriented language

Which of the following are good reasons to use an object-oriented language?

  Business-level and corporate-level strategies

Choose an industry you have not yet written about in this course, and one publicly traded corporation within that industry. Research the company on its own Website, the public filings on the Securities and Exchange Commission EDGAR database

  Structured and object-oriented designs

Structured and object-oriented designs are the two main contenders for programming methodologies relevant to the creation of documentation for application programs. The choice of methodologies will greatly affect how we approach the challenge and ..

  Create a domain class diagram containing

Create a domain class diagram containing these five domain classes (with these attributes) at this cash-only multi-screen movie theater: Movie (movieTitle, producer, length, director, genre, rating, stars) Ticket (screen, movieTitle, showtime, ad..

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