+1-415-670-9189
info@expertsmind.com
Create a class for the car information management
Course:- DOT NET Programming
Reference No.:- EM13839627




Assignment Help
Expertsmind Rated 4.9 / 5 based on 47215 reviews.
Review Site
Assignment Help >> DOT NET Programming

1. Write a Visual Studio 2012 C# Console App that manages car information

2. Below is a sample interface of a CAR MANAGER app.

- <<...... >> are instructions you should program

- Other characters (in red) are messages you should display in the monitor.

- You may assume that a user will enter only valid characters, e.g., a user will enter only numbers for the miles ran.

3. You should create a class for the car information management, and all the information should be saved and accessed to/from the class. You cannot use any variables for the information storing purpose in the Main method.

4. Place your name as a comment in your code

*****************************
* *
* WELCOME TO CAR MANAGER *
* By << show your name >> *
* *
*****************************
<<Place one empty line here>>

Enter # of Wheels of a car: << get input from keyboard on the same line>>

Enter the color of the car: << get input from keyboard on the same line>>

Current Mileage will be set Zero.

The starting CAR POINT is 100000 pts.

<<Create an instance for a car class by using the constructor having 2 parameters. Save the information in attributes in the object>>

<< Place three space characters here>>===>The current status of your car: <<show the # of wheels of this car>>Wheels,<<show the color of this car>>, <<show the mileage of this car>>miles, and CAR POINT= << show the CAR POINT of this car>>.

<<Place one empty line here>>

Enter owner's name: << get input from keyboard on the same line>>

<<Save this name to an attribute in your class for car management>>

Enter the miles the car ran in this week: << get input from keyboard on the same line. Enter a number more than 50>>

<< Calculate a new CAR POINT and Save it to an attribute in your class for car management >>

<<Formula for A NEW CAR POINT = Previous car point - miles ran * 0.5 >>

<<Update the mileage of your car>>

<< Place three space characters here>>===>This car is owned by <<show owner's name>>.

<< Place three space characters here>>===>The current status of your car: <<show the # of wheels of this car>>Wheels,<<show the color of this car>>, <<show the mileage of this car>>miles, and CAR POINT= << show the CAR POINT of this car>>.

************ Thank you for using CAR MANAGER *************
<<Place 2 empty lines here>>

Press ENTER to close console.......
<<get input from keyboard on the next line. If ENTER key is pressed, then quit the program>>




Put your comment
 
Minimize


Ask Question & Get Answers from Experts
Browse some more (DOT NET Programming) Materials
Write a program that prompts the user for a name, Social Security number, hourly pay rate, and number of hours worked. Display the information that was input by the user.
Describe the characteristics of Visual Studio 2005 Visual Studio.Net is a suite of products that includes 4 main languages. Name these languages and outline their use in i
Development of a simple sales and invoice component where a customer fills out a form on a web page to request a truck delivery and then receives an online invoice in PDF fo
Start by creating a folder called BegASPNET in the root of your C drive using Windows Explorer or My Computer. Inside the folder, create another folder called Site. You shou
Create a program that attempts to create several valid and invalis invoice objects. Immediately after each instantiation attempt handle any thrown exceptions by displaying a
Thus, each salesperson passes between 0 and 5 slips per day. Assume that the information from all of the slips from last month are available. Write an app that will read all t
Select a reasonable size of objects to represent the population and Decide a similarity measure between any two objects - Explain the clustering difference between this cluste
Describe two types of loops that can be used to print every third integer from 0 to 300 (i.e., 0, 3, 6, 9, etc.), each on its own line. Which would be a better choice and wh