Need help creating a Miles per gallon Calculator using visual basic 2010.

need help creating a Miles per gallon Calculator using visual basic 2010. This is the problem: each time the user enters the miles drivwn and gallons used (both as Doubles) for a tank ful and presses the calculate MPG button, the program should calculate the mpg then display the miles driven, gallons used, and mpg in listboxes. The program should also display the total mpg (be careful this not the average of the miles per gallon for each tankful) All avg calculations should produce floating-point results. Avoid division by zero. If the user enters zero for the number of gallons, inform the user that the the input value for gallons must be greater than zero.
Please feel free to send me a message in case of any query
iqra javaid

Use the order calculator below and get started! Contact our live support team for any assistance or inquiry.

[order_calculator]