Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C# Console Application 1. Within Program.cs, create a class named Automobile with the following: a. Appropriate PDC (Programmer-Defined Contructor) and PDDC (Programmer-Defined Default Contructor) b.

C# Console Application 1. Within Program.cs, create a class named Automobile with the following: a. Appropriate PDC (Programmer-Defined Contructor) and PDDC (Programmer-Defined Default Contructor) b. Appropriate getters and setters c. Methods to increase speed, decrease speed, and show speed d. Instance members to track speed, make, model, and color Using the Automobile class: a. Ask users how many Automobiles they would like to create b. Request users to input make, model, and color (different property values for each automobile) c. Allow users to change speed and report the new speed 2. Create a class named Restaurant in its own class file with the following: a. Appropriate PDC and PDDC b. Classic properties for: i. City ii. Chef iii. Cuisine Type iv. AAA Diamond Rating (1-5) c. Method to return all properties concatenated together into a user readable string 3. Create a class Painting in its own class file with the following: a. Appropriate PDC and PDDC b. Auto-implemented properties for the following: i. artist ii. genre iii. country iv. year v. wholesale price Using the Painting class: a. Ask users how many Paintings they would like to create b. Request users to input appropriate data for each painting c. Method to calculate the Painting object retail price based on the following formula: i. retailPrice = wholesalePrice + commission + tax + duty;

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Temporal Databases Research And Practice Lncs 1399

Authors: Opher Etzion ,Sushil Jajodia ,Suryanarayana Sripada

1st Edition

3540645195, 978-3540645191

More Books

Students also viewed these Databases questions

Question

Solve for x: 2(3x 1)2(x + 5) = 12

Answered: 1 week ago