Answered step by step
Verified Expert Solution
Question
1 Approved Answer
just looking for help with setting up the code for Exercise 5 Create an app SpecialCook ieOrder objects pts a user for data fo lemented
just looking for help with setting up the code for Exercise 5
Create an app SpecialCook ieOrder objects pts a user for data fo lemented 5. a. Create an application named AutomobileDemo that prompts a e eight Automobile objects. The Automobile class includes auto-imni properties for ID number, make, year, and price. Override the Tostrd to return all the details for an Automobile. During data entry, re ber and display all ny ID number is a duplicate. Sort the objects in ID number order their data as well as a total of all their price contains all the data of an Automobile, plus fields to hold the am and interest rate. Override the parent class ToStringO method to include the child class's additional data. Create a program named AutomobileDemo that contains an array of four FinancedAutomobile objects. Prompt the user for all the necessary data, and do not allow duplicate ID numbers and do not allow the amount financed to be greater than the price of the automobile. Sort all the records in ID number order and display them with a total price for all FinancedAutomobiles and a total amount financed b. Using the Automobile class as a base, derive a FinancedAuto nanced c. Write an application named AutomobileDemo3 that uses an extension method for the FinancedAutomobile class. The method computes and returns a FinancedAutomobile's monthly payment due (1/24 of the amount financed) application should allow the user to enter data for four objects and then display al the data for each Create an application named ShapesDemo that creates several objects that descend from an abstract class called GeometricFigure. Each GeometricFigure includes a height, a width, and an area. Provide get and set accessors for each field except area; the area is computed and is read-only. Include an abstract method called ComputeArea) that computes the area of the GeometricFigure. Create three additional classes: 6. A Rectangle is a GeometricFigure whose area is determined by multiplying width by heightStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started