Create a Trip Calculator Windows application that can be used to determine miles per gallon for a

Question:

Create a Trip Calculator Windows application 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.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: