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

  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 ("").

  Part-1use one business rule delivery fees consist of a

part-1use one business rule delivery fees consist of a fixed amount of 1000 per truck plus carbon emission charge and

  1 design a web application using visual studionet 2012 c

1. design a web application using visual studio.net 2012 c language with the implementation of the followinga upload

  Create an illustration of a nested if structure and build

write a 200- to 300-word short-answer response to the followinga create an example of a nested if structure and build

  It online training specification

You will create two test cases following the format described below. In testing, test cases are developed first and then tested later by a different team. You will not be able to exercise your test cases (so you won't have Actual Results) but you ..

  Importance on disaster recovery

Why do you think organizations may not place enough importance on disaster recovery. Based on your reading what do think might happen to these organizations in the event of an actual disaster?

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

  Draw the uml class diagram

Draw the UML class diagram

  Briefly describe your new architecture

Briefly describe your new architecture. Include a summary of the changes made to the application to support the new architecture. Describe the new components created for your application, and identify how and where they are used

  Use a one-dimensional array to solve the following problem

Use a one-dimensional array to solve the following problem: Read in 20 numbers, each of which is between 10 and 100 inclusive.

  Write a program in c# that creates a professorrating class

Write a program in C# that creates a ProfessorRating class consisting of professor ID and three ratings. The three ratings are used to evaluate easiness, helpfulness, and clarity.

  Create or find appropriate images for the salary calculator

Create or find appropriate images for the Salary Calculator and New Employee links. Copy the images to the images folder created above.

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