Project_05 - COMP 1210 Project 5 Used Car List Page 1 of 4...

Info icon This preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
COMP 1210 Project 5: Used Car List Page 1 of 4 Due : Monday, February 27, 2012 by 11:59 PM Deliverables The following project files must be submitted to the “graded” assignment in Web-CAT by the due date and time specified above (see the Lab Guidelines for information on submitting project files). You should plan to start on the project not later than Wednesday in lab, and you should make sure that your files are successfully submitted to the “ungraded” assignment in Web-CAT during lab on Wednesday. Projects sent via e-mail past the deadline at 11:59 PM will not be accepted without a university- approved excuse. Files to submit to Web-CAT: UsedCar.java UsedCarList.java Specifications Overview: You have been hired by a local used car dealer to write software to provide a master list of the dealership’s inventory of used cars. The dealer, which specializes in Japanese cars, only sells Honda, Mazda, Nissan, and Toyota used cars. For this purpose, you need to design and implement a UsedCar class and UsedCarList class: (1) the UsedCar class stores basic information about the car and includes methods to set and get individual values; (2) the UsedCarList has a main method that reads used car data in from a file, creates UsedCar objects, stores the objects in an ArrayList, then prints a report (list of used cars) from ArrayList. UsedCar.java Requirements : The dealer needs each used car item to have a stock number, the year of production, make, model, mileage, and an original price. Additionally, a reference price should be calculated based on the original price, the year, and mileage as follows: Reference Price = (X – Months/320) × Original Price X represents for the condition of the used car based on mileage. When the mileage is 70,000 or less, X equals to 1. If the mileage is greater than 70000 but not greater than 120000, then X equals to 0.7. If the mileage is greater than 120000 then X equals to 0.45.
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern