Develop a program for an auto dealership

Assignment Help C/C++ Programming
Reference no: EM13939967

Lab Assignment #2

You are to develop a program for an auto dealership. This program will keep track of the auto inventory using an array of objects. The dealer has a limit of 100 cars in inventory at one time due to space restrictions. The class used to instantiate the auto objects must contain at a minimum the following information:
· Dealer inventory number (starting at 1000)
· Auto VIN
· Make
· Model
· Exterior color
· Interior color
· Transmission type
· Engine size in cubic inches
· Wholesale price
· Retail price
You program must present the user with a menu allowing the entry of new automobiles as they are received and remove the automobiles as they are sold. You must provide methods to search the array for cars of a particular make or model or dealer inventory number. These methods must overload the == operator. When a match is found all attributes of the car will be displayed. If a match is not found the appropriate message should be displayed.
You must provide a method to display the total number of cars in inventory.
You should provide private helper methods to check for the correct entry of numbers for the wholesale and retail prices.

Reference no: EM13939967

Questions Cloud

What type of immune cells are displayed in this plot : In advanced HIV disease the percentage of cells in which population would be reduced? What type of immune cells are displayed in this plot?
Examine your organization and leadership : What is vision in your work environment and how does one foster a shared vision in this kind of environment and what signals (verbal and non verbal) do individuals send to leaders to communicate that they are inspired?
Perspectives on food and beverage appreciation : Search the internet or Australian Hospitality Management journals for a job description for an F&B a manager in a large international hotel in Australia.
Create a book class which stores the information : You run a small library. Ask the user to provide information for several books. The information must include the author, title and publisher of each book.
Develop a program for an auto dealership : You are to develop a program for an auto dealership. This program will keep track of the auto inventory using an array of objects. The dealer has a limit of 100 cars in inventory at one time due to space restrictions. The class used to instantiate..
Characteristics of high and low voltage electrical power : Evaluate, test and report the characteristics of high and low voltage electrical power distribution networks. Identify, select, programme and test suitable power flow techniques and algorithms to solve network power, voltage and current distribution..
Explain how the overhead costs were assigned to each job : How do you think Mrs. Lucky will feel when she receives the bill for the three sets of wedding announcements? Explain how the overhead costs were assigned to each job.
Review of an employment contract : As a current or former employee, you have a "defined idea" of what makes a great workplace? This week''s assignment focuses on a review of an employment contract.
Procedural vs substantive views of democracy : Where do you find yourself on the procedural vs substantive views of democracy? In terms of racial equality, should the government advocate a more procedurally equal situation or is substantive equality a reason for less equal procedures

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Demonstrate the construction and output of an array

In fluid mechanics, the Reynolds number (Re) is a dimensionless quantity that is used to help predict similar flow patterns in different fluid flow situations. For example, Reynolds numbers can be computed for different velocities of fluid flow over ..

  Write a program that draws a picture of a house

Write a program that draws a picture of a house. It could be as easy as the accompanying figure, or if you like, make it more elaborate (3-D, skyscraper, marble columns in the entryway, whatever).

  Public data members and private data members.

Explain the difference between public data members and private data members. Give an example in the main function to show that one C++ statement is valid and the other is invalid (you can use Grade class in Problem 5.

  Implement a program to process a weighted undirected graph

Read in the number of vertices V and the number of edges E of the graph followed by its E edges, each in the form u, v, w where 1 0 representing an edge uv with weight w.

  What are the different structured loops

Which piece of pseudocode represent the checking the loop condition

  Struct definition to represent the data of a person''s bank

Define a struct definition to represent the data of a person's bank account. There will be one string for the name, and two doubles for balance and interest rate. Declare two variables of this new type in the main function. Modify the values of each ..

  Programing for financial system

Write c++ programing for financial system using class and object

  Questionnbsp the template method pattern and the strategy

questionnbsp the template method pattern and the strategy pattern both abstract some computation in the form of

  Program that perform arithmetic operations on fractions

Write a program that lets the user perform arithmetic operations on fractions. Fractions are of the form a/b, where a and b are integers and b is not equal to 0. Your program must be menu driven, allowing the user to select the operation (+, -, *,..

  Consider the following idealized wimax scenario.

In mobile IP, what effect will mobility have on end-to-end delays of data-grams between the source and destination?

  Write a program to evaluate infix expressions

Write a program to evaluate infix expressions. An infix expression looks like the following:   9 * (5 - 4) + 2 / 6

  Derive the expression for variance of the continuous uniform

Derive the expression for variance of the continuous uniform probability distribution (we derived the expression for mean in class). Show your work.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd