Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I am tasked with creating a Java program based on a dealership, and I am given four different components to code. However, I need to

I am tasked with creating a Java program based on a dealership, and I am given four different components to code. However, I need to choose one, which is the 'Customer Database.' I will provide you with the steps for the code, and if you refer to the picture I've provided, you can see the full instructions. As I mentioned, we only need to implement one part of the code, and I am focusing on the customer database. Also make a class digram. Remeber to use java to code this, thank you.
Steps for the code:
The last thing the system needs to track is its customers. Customers will have a name, address, and a list of all the vehicles they have purchased from the dealership. Additionally, you must be able to track whether or not they are preferred customers. Customers become preferred when they have bought three or more cars from the dealership.
Instructions:
Read the scenario carefully and choose to code ONE of the FOUR software for the dealership.
Minimum requirements are:
at least 2 instance variables
at least 2 behavioural methods
a toString method
menu in the tester class
Steps for the assignment
As a student of ICS4U0 you are asked with designing a new software program that will be used by various car companies around Canada. There are several things your program must do.
The first thing is that your program must keep track of car dealerships. Each dealership will have a name, franchise owner, yearly sales total, a list of current staff at the dealership, a roster list of clients for the dealership and list of current cars being sold at the dealership. In addition to the usual methods of being able to get and change the details of the dealership, you should also be able to compare dealerships of who is more successful. A dealership will have many vehicles.
You should be able to add new cars to a dealership, but make sure a car with the same VIN cannot be entered twice. Vehicles fall into 2 basic types: cars and SUVS. Although both cars and SUVS have a model name, horsepower, VIN, colour and number of passengers, with SUVS you must also keep track of the towing capacity while on cars you must keep track of whether or not it a convertible. The program should be able to intake a VIN number and return whether or not the vehicle with that VIN number is on the lot at the dealership. Lastly you should know the list price on a vehicle. Vehicles fall into 2 basic types: cars and SUVS. Both cars and SUVS have a model name, horsepower, VIN, colour and number of passengers. The program should be able to intake a VIN number and return whether or not the vehicle with that VIN number is on the lot at the dealership.
When a car is sold, keep track of the customer it has been sold to, the amount the car was sold for, the amount of money given for the down payment, the amount owing on the vehicle and the interest rate on the car. A customer should not be able to buy a car if they already have 2 or more cars with balances owing on the account.
Each dealership will also have staff. Staff will have a name, employee numbers, yearly sales average in dollars
and average numbers of cars sold per week. When an employee is initially added to the system, either all
these details can filled out, or the yearly sales average and numbers of cars sold per week can be left out, in
which case the system automatically sets the values to zero. Your program should rank the most successful
sales person, based on the highest dollar amount sold.
The last thing the system needs to keep track of is their customers. Customers will have a name, address, and
a list of all the vehicles they have bought from the dealership. The last thing you must be able to track with
customers is whether or not they are a preferred customer. Customers become preferred when they have
bought 3 or more cars from the dealership.
You have to pick one ONE of the FOUR programs to code- Car database, Sales Database, Employee database orthe Customer Database
image text in transcribed

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

Advances In Databases And Information Systems 22nd European Conference Adbis 2018 Budapest Hungary September 2 5 2018 Proceedings Lncs 11019

Authors: Andras Benczur ,Bernhard Thalheim ,Tomas Horvath

1st Edition

3319983970, 978-3319983974

More Books

Students also viewed these Databases questions

Question

5. Identify and describe nine social and cultural identities.

Answered: 1 week ago

Question

2. Define identity.

Answered: 1 week ago

Question

4. Describe phases of majority identity development.

Answered: 1 week ago