Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I posted this before but I didn't specify that this is for a C# programming class. Create an application named JobDemo that declares and uses
I posted this before but I didn't specify that this is for a C# programming class.
Create an application named JobDemo that declares and uses Job Job class holds job information for a home repair service. The c properties that include a job number, customer name, job hours, and price for the job, Create a the data except price. Include auto-implemented properties for t customer name, and job description, but not for hours or price, the price field value is calculated as estimated hours times $45.00 whenever the hours value is set. Also create the following for the class: a. The objects lass has five 3. description, estimated rs for all constructor that requires paramete he job number 47 . An EqualsO method that determines two Jobs are equal if they have the same ob number . A GetHashCode O method that returns the job number . A ToString O method that returns a string containing all job information The JobDemo application declares a few Job objects, sets their values, and demonstrates that all the methods work as expected. b. Using the Job class you created in Exercise 3a, write a new application named JobDemo2 that creates an array of five Job objects. Prompt the user for values for each Job. Do not allow duplicate job numbers; force the user to reenter the job when a duplicate job number is entered. When five valid objects have been entered display them all, plus a total of all prices. c. Create a RushJob class that derives from Job. A RushJob has a $150.00 premium that is added to the normal price of the job. Override any methods in the parent class as necessary. Write a new application named JobDemo3 that creates an array of five RushJobs. Prompt the user for values for each, and do not allow duplicate ob numbers. When five valid RushJob objects have been entered, display them all plus a total of all prices. d. Make any necessary modifications to the RushJob class so that it can be sorted by job number. Modify the JobDemo3 application so the displayed orders have been sorted. Save the application as JobDemo4Step 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