subject

You work for a company that sells cars and services cars. You have been instructed to write a program to help keep track of these operations for the store manager. Your company is moving to an object oriented programming system for all of its software, so you will have to create a car class and use it in your program. Besides creating the cars when the user chooses, the user can also change information about a car they choose. You will need to incorporate error handling to make sure that incorrect values are not stored if the user enters them for a change. There are also menu options for specific reports you should show on the screen when the user selects those options.

Car Class:

Your system works with cars. Each car has the following information it keeps: vin (a string), make (a string), model (a string), year (a number greater than 1970), mileage (a number not less than zero), price (a floating point number greater than 1000.)

Menu:

You need to have a menu system for this program. The user should be allowed to do several different things and each time returning to the main menu when they are done.

Main System Features/Processes:

Here are the main functional features your system has to have for the user:

Ability to add a car to the array and set all of the values for it with input from the user
Ability to ask the user which car in the array they wish to change in some way, and then make that change.
(Hint: Have it in a separate method you are calling and print a message and ask them what they want to change and number them so you can do a separate If/Else or Switch. Then ask them for the value to change it to, and do it there. …don’t try to do it in the main menu.)

Display a message with all the data for a car the user chooses.
Display the data for all the cars (currently in the array) for the user.
Display the average mileage for all of the cars on the lot.
Display the lowest price for all of the cars on the lot.
Make an Offer. This is a printout as if to show a customer with the list price, a discount, and the asking price. It should ask the user to choose if he/she feels the customer likes the car, somewhat likes the car, or is not easily swayed. Customers liking the car get a $100 discount, somewhat liking the car get a $200 discount, and not easily swayed get a $500 discount.
Here are the additional non-functional requirements:

This program must have at least one array. For simplicity the maximum number of cars on-site at any time is going to be 20.
This program must have multiple methods. Do not code the menu and all of the things it is doing all in main. There should be a reasonable amount of methods to handle the features this program is doing.
There should be error handling.
At least one output statement should show formatting to two decimal places when printing the price of a car (to demonstrate the technique.)
At least one of the functions above should incorporate a loop
At least one of the functions above or the functions in the class should incorporate If statements
Expert Answer

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 11:30
Andrina writes letters that are regularly sent to hundreds of her company’s customers. because of this, she would like for the mail merge command to be in her quick access toolbar, and she wants it to be the first button on the left. what should andrina do to place the mail merge button there?
Answers: 1
question
Computers and Technology, 22.06.2019 22:40
In this lab, you complete a python program that calculates an employee's annual bonus. input is an employee's first name, last name, salary, and numeric performance rating. if the rating is 1, 2, or 3, the bonus rate used is .25, .15, or .1 respectively. if the rating is 4 or higher, the rate is 0. the employee bonus is calculated by multiplying the bonus rate by the annual salary.
Answers: 1
question
Computers and Technology, 22.06.2019 23:30
What are some ways to use a range name in a formula? check all that apply. in the defined names group, click use in formula, and then select the desired name. begin typing the name in the formula, select a name from the autocomplete list, and use the arrow keys and tab key to enter the name in the formula. begin typing the formula, and then click and drag with the mouse to select the cells to include in the formula. right-click one of the cells in the range. click formula options, and use the dialog box to add the name.
Answers: 1
question
Computers and Technology, 23.06.2019 19:00
Acompany is hiring professionals for web designing. the firm is small with few resources. they want employees who possess problem-solving skills and can independently carry out responsibilities. which kind of employee should they select?
Answers: 2
You know the right answer?
You work for a company that sells cars and services cars. You have been instructed to write a progra...
Questions
question
Mathematics, 22.12.2019 17:31
question
Mathematics, 22.12.2019 17:31
Questions on the website: 13722367