SophiaPretty

(5)

$14/per page/Negotiable

About SophiaPretty

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Accounting,Algebra See all
Accounting,Algebra,Applied Sciences,Architecture and Design,Art & Design,Biology,Business & Finance,Calculus,Chemistry,Communications,Computer Science,Economics,Engineering,English,Environmental science,Essay writing Hide all
Teaching Since: Jul 2017
Last Sign in: 305 Weeks Ago, 1 Day Ago
Questions Answered: 15833
Tutorials Posted: 15827

Education

  • MBA,PHD, Juris Doctor
    Strayer,Devery,Harvard University
    Mar-1995 - Mar-2002

Experience

  • Manager Planning
    WalMart
    Mar-2001 - Feb-2009

Category > Computer Science Posted 09 Nov 2017 My Price 10.00

Vin number field (must be a 17 digit only alpha numeric field)

I am working on this homework (C# Programming) but stumble along the way.

C# Programming

Create and Use a Vehicle Class

 

 

1. Create a console application

 

 

2. Develop a Vehicle class that has the following:

 

a. Company field (no validation)

b. Model field (no validation)

c. MRSP field (only positive data)

d. Vin number field (must be a 17 digit only alpha numeric field)

e. Delivery Date field (the date that the car was delivered to the dealer). Also do a validation check to not allow any car being delivered before 1/23/2016, the date that the dealer started business.

f.  Car bought status field (car available for sale versus sold).

g. Override the ToString() method for your vehicle class.

f.  Number of vehicles created.

 

3. Your class should have a null constructor and at least one additional constructor to collect the full information on creation.

 

4. Have a method to buy the vehicle. (you can just have a string returned that states that the car has been bought).

 

5. Create an efficient way to print out all of the information collected on a vehicle (use the override of the ToString() method to print out the vehicle state information).

 

6. Develop a class to test your Vehicle class. In this class do the following:

 a. Create the following inventory of vehicles from the information below:

 

Car   Model  MRSP         VIN    Delivery Date Sold

Aston Martin Vantage $129,000     *   **      No ***

Ford   Fusion $ 28,678.99        No

Honda   Civic EX $ 18,713.27        No

5 additional cars including one car with missing information for all fields.

 

*Make up your own VIN numbers (must be 17 places).

 

**Use delivery dates of 01/27/2016, 02/24/2016, 02/24/2016, 03/11/2016, 04/03/2016, 05/16/2016 and 06/23/2016 (you can pick which cars have these dates as long as you use all of these dates). Note that one date is missing along with the other missing car information.

 

***All cars are unsold until the Honda Civic transaction.

 

 

b. Use your ToString() method to display the vehicle state information for the Ford Fusion.

c.  Create a report based on the system’s today date or a user defined date showing the following:

 1. Date of the report.

 2. Cars in the inventory (your inputted data) before the Honda Civic was bought. Also show a total for the number in the inventory.

3. Cars that have been less than 30 days on the lot, 31 to 60 days, over 60 days. Cars that have not been delivered yet show separately. Format of the report is up to you.

 

You may use a separate method for this report if you wish or utilize the ToString() method as part of this report.

 

d. Exercise your Buy method by buying the Honda Civic (you can just return a string that states that the car has been bought).

 

e. Produce another report that shows that the information when the Honda Civic has been sold 

 

7. Your application will not only be graded on having the correct program functionality but also on using appropriate naming standards, visually appealing reports, etc. You may brute force this application since we have not covered collections but this project is easily solved if you read ahead on the subject of collections.

 

8. Test your application and then save your work.

Attachments:

Answers

(5)
Status NEW Posted 09 Nov 2017 12:11 PM My Price 10.00

----------- He-----------llo----------- Si-----------r/M-----------ada-----------m -----------Tha-----------nk -----------you----------- fo-----------r y-----------our----------- in-----------ter-----------est----------- an-----------d b-----------uyi-----------ng -----------my -----------pos-----------ted----------- so-----------lut-----------ion-----------. P-----------lea-----------se -----------pin-----------g m-----------e o-----------n c-----------hat----------- I -----------am -----------onl-----------ine----------- or----------- in-----------box----------- me----------- a -----------mes-----------sag-----------e I----------- wi-----------ll -----------be -----------qui-----------ckl-----------y

Not Rated(0)