Create a class for the car information management

Assignment Help DOT NET Programming
Reference no: EM13839627

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>>

Reference no: EM13839627

Questions Cloud

Article summary - psychology of drugs and abuse : In your summary, you must include the following information: purpose of the article and main points (please summarize in your own words and do not list!).  Article- The Injustice of Marijuana Arrests Jesse Wegman
What is the following''s states at atmospheric temperature? : what is the following's states at atmospheric temperature?
Why are objectives an important part of a diversity strategy : Why are objectives an important part of a diversity strategy? Identify three key results areas relating to an organisation's diversity strategy and explain how the organisation might establish whether the result is being achieved.
Naacp press release : The NAACP press release presents the informational report that documents how the health and environmental hazards accruing to coal-fired plants distribute unevenly amongst poor communities.
Create a class for the car information management : 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.
Calculate the velocity of the river : Calculate the velocity of the river.
Calculate the radial acceleration of the ball : Calculate the radial acceleration of the ball during its circular motion.
English composition-persuasion : Go to resources tab and use the EBSCOhost link to search for the following article:
Calculate the angle ? that the trapeze cord : Calculate the angle θ that the trapeze cord

Reviews

Write a Review

DOT NET Programming Questions & Answers

  Prepare a marymount faculty site and you have each been

prepare a marymount faculty site and you have each been provided a professor to profile.nbsp you have to use html5 and

  Add insert and edit menu options

Add Insert and Edit menu options - Insert will allow the user to insert a new account in a position of his choice

  Creates three arrays of type double

Write a C# program that creates three arrays of type double. Using a loop, prompt the user to input 10 initial values for each of two arrays (for a total of 20 values).

  Develop web services based application

Develop and test a Web services based application that meets the requirements applying SOA design principles.

  Development of dynamic websites

Based on Keston (2008), is LAMP the only platform to use for the development of dynamic websites? Is Visual Studio® .NET a better platform, because it uses C++ legacy code to develop secure dynamic websites

  Write a c# program to store an array of integers

Write a C# program to store an array of integers 10 through 19. Use an appropriate loop to multiply all of the values in the list. Print out the result.

  Create a web forms project

For this assignment are going to create a Web Forms project that has a Web Form item called Default.aspx. On this form we want 3 elements: A Label control whose Text property is the empty string ("").

  Write application to compute fee for parking car in garage

Write an application in C# (it must include GUI as well as at least one user-defined class) that computes the fee for parking a car in a parking garage.

  Webite hi sir u need to bild the website the qustion sheet

hi sir u need to bild the website .the qustion sheet is cis2oo3 file and the rubal is the rar file which i had done for

  Write a complete c# program in console mode

Write a complete C# program in console mode to load the data file as a sequential file using C# System.IO library into an ArrayList data structure (using the System.Collection library) Store each line in the file as a separate record.

  Determine and print the average age of your family

Determine and print the average age of your family and print the names of anyone who lives in Texas. There are 4 components of your submission including

  Create a c# program that includes a coffeeorder class

Create a program that includes the following requirements: Create a CoffeeOrder class

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