Payment is INR 600
Program is in Visual Studio and has to be done right now.
2.1 - Write the definition of a class that represents a Car. Include the definition of these properties: VIN Number, GasLevel, Mileage, and MPG (Miles Per Gallon). Make sure to choose proper data types based on how these properties are used. For example, VIN Number, even though a number, but does not need to be defined as Integer.
2.2 - Having done the code for the above question, write the code for a Drive method, which accepts a value that represents the number of miles driven. Drive will update the Mileage property, and reduce the GasLevel based on the MPG and the miles driven. This method should allow the car to be driven based on whether there is enough gas in the tank. If the miles passed require more gas than what is in the tank, drive the car till the tank is empty, and adjust the mileage only by what the actual miles driven were.
2.3 - Write another method, PumpGas, which accepts a value that represents the number of gallons pumped. This method updates the GasLevel by adding the value of the argument received to the current GasLevel. What should the data type of the argument be?
2.4 - Now design a form and write code for the buttons to create a new car, drive it, and pump gas into it. Values for miles driven and gas gallons may be obtained from the end user via textboxes or Inputboxes. Below is a suggested GUI for the form.
7 freelance font une offre moyenne de ₹1050 pour ce travail
I am expert working in .net technology. I have done many windows application [login to view URL] depends on the requirements. I can complete it before time.
Gimme 2-3 hours.. it can be done right NOW. Please refer my profile as it is not showing reviews over here. 1. VIN # -> even though it is number (as stated) it would take string input as it is not being used in c Plus
i have worked on 3 project with telcotec (startup), Sagemcom and LeroySomer where i creat desktop applications on c# .
IAM .net developer with 6 years of experience.I am working VB.net and c# in my project. I want to work on similar projects. Here VIN number should be interger as it comprise of alphabets also. And I feel ur form sho Plus
Hello, I have good experience on .NET technologies, i would like to work on your project. I will be deliver this in 1 day max. Looking forward for your response.
Bachelor Degree in Business Development Microsoft SQL Server Sr DBA Microsoft .NET Sr Specialist Software Solution Architect Sr Business Consultant Author, and architect of ERP Small Business Desktop Edition. M Plus