Question: Create a Trip Calculator Windows application using visual studio that can be used to determine miles per gallon for a given trip. Set the Form
Create a Trip Calculator Windows application using visual studio that can be used to determine miles per gallon for a given trip. Set the Form object properties of Name, ForeColor, BackColor, Size, Location, Text, and AcceptButton. The form should contain labels and textboxes to allow the user to input trip destination, miles traveled, and gallons of gas consumed. Right justify the number entries. Left justify the destination entry. Two buttons should be placed on the form. Center the text on the button objects. Name all objects used in program statements. When the user clicks the button that performs the calculations, display on a label the miles per gallon for that trip. The second button should be used to reset or clear all textbox entries.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
