Miles Per Gallon Calculator
Calculate the average MPG for a car. The user would enter starting mileage, ending mileage, and gallons purchased for fuel. The application would calculate number of miles (ending mileage - starting mileage) / gallons purchased.
This would be done for as many entries as the user desires. The application would store/retrieve these details from a text file and display information to the form. A list box may be a great option with the user selecting an entry to display further detail.
The application would include the features listed below:
Application includes at least two images
All controls are renamed
Tab stop is set
Use variables
Assign data types to variables
Format numbers
Create calculations
Use decision structures (if...then...else)
Use logical operators
Use loops in an application
Create a procedure
Create a function
Utilize arrays within an application
Store and retrieve information from a data file
Application includes multiple forms
Application includes inline documentation