Program 1 – Car Management Program with screenshot – Instant Delivery – Perfect Solution
2. Below is a sample interface of a CAR MANAGER app.
– <<…… >> are instructions you should program Write a Visual Studio 2012 C# Console App that manages car information
– 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
5. Hint: Refer to the code in Fig. 3.22 in the textbook (or in the class slide for Ch03) for type conversions and getting user’s inputs.
______________________________________________________________________________
*****************************
* *
* 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.
<
<< Place three space characters here>>===> The current status of your 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 <
<< Place three space characters here>>===> The current status of your 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>>