2023 You are writing a simple application to help Ernie s Car Consignment to keep track of his inventory Ernie | Assignment Collections

Computer Science 2023 Car Consignment

2023 You are writing a simple application to help Ernie s Car Consignment to keep track of his inventory Ernie | Assignment Collections

You are writing a simple application to help Ernie’s Car Consignment, to keep track of his inventory.  Ernie sells cars and truck for their owner. The following diagrams describe the classes you will need for this project.

 

Part I  (50 points)

You will first need to code Person, Vehicle, Car and Truck class.   As you can see, Vehicle is the base class from which the Truck and Auto classes inherit.  The two derived classes describe two ‘types’ of Vehicle. Note that the ‘owner’ field is of class ‘Person’ described by the diagram:

 

The Vehicle class provides a constructor, which initializes its instance data variables, in addition to accessor methods for each instance variable.  Each of the extending classes provide additional data members specific to the type of Vehicle, plus additional methods needed to maintain the object.  The ‘desiredPrice’ is the price that the owner wants for the Vehicle.

 

 Each of these classes provides a specific ‘regCost’ method to compute the price the vehicle.  Ernie’s pricing works as follows: each vehicle cost computation begins with the amount the owner wants for the vehicle.  Ernie then adds 33% if it is a Car and 25% if it is a Truck.  The ‘totalCost’ for any vehicle is it’s ‘regCost’ plus tax, which is 8.25%.  

 

PrintSticker functions are provided to printout all vehicle details, including cost before and after tax.

 

Part II  (50 points)

You are to write a test that will allow the user to store vehicle information.  Your program should allow the user to do any of the following, until the user decides to exit.

 

enter a new Car

enter a new Truck

print out all Cars currently stored

print out all Trucks currently stored

accept a price as input, and output all Cars which are available under that price (before tax)

accept a price as input, and output all Trucks which are available under that price (before tax)

accept a price as input, and output all vehicles which are available for that price (before tax)

accept a car manufacturer, and output all Vehicles which are made by that manufacturer

 

 Each object created must be stored for the remainder of the program, so you will need to have a list.

 

We give our students 100% satisfaction with their assignments, which is one of the most important reasons students prefer us to other helpers. Our professional group and planners have more than ten years of rich experience. The only reason is that we have successfully helped more than 100000 students with their assignments on our inception days. Our expert group has more than 2200 professionals in different topics, and that is not all; we get more than 300 jobs every day more than 90% of the assignment get the conversion for payment.

Place Order Now

#write essay #research paper #blog writing #article writing #academic writer #reflective paper #essay pro #types of essays #write my essay #reflective essay #paper writer #essay writing service #essay writer free #essay helper #write my paper #assignment writer #write my essay for me #write an essay for me #uk essay #thesis writer #dissertation writing services #writing a research paper #academic essay #dissertation help #easy essay #do my essay #paper writing service #buy essay #essay writing help #essay service #dissertation writing #online essay writer #write my paper for me #types of essay writing #essay writing website #write my essay for free #reflective report #type my essay #thesis writing services #write paper for me #research paper writing service #essay paper #professional essay writers #write my essay online #essay help online #write my research paper #dissertation writing help #websites that write papers for you for free #write my essay for me cheap #pay someone to write my paper #pay someone to write my research paper #Essaywriting #Academicwriting #Assignmenthelp #Nursingassignment #Nursinghomework #Psychologyassignment #Physicsassignment #Philosophyassignment #Religionassignment #History #Writing #writingtips #Students #universityassignment #onlinewriting #savvyessaywriters #onlineprowriters #assignmentcollection #excelsiorwriters #writinghub #study #exclusivewritings #myassignmentgeek #expertwriters #art #transcription #grammer #college #highschool #StudentsHelpingStudents #studentshirt #StudentShoe #StudentShoes #studentshoponline #studentshopping #studentshouse #StudentShoutout #studentshowcase2017 #StudentsHub #studentsieuczy #StudentsIn #studentsinberlin #studentsinbusiness #StudentsInDubai #studentsininternational