MPG, Miles, Eco, Petrol Calculator

Currently reading:
MPG, Miles, Eco, Petrol Calculator

kashem58

New member
Joined
Feb 7, 2008
Messages
100
Points
26
Location
some where over the rainb
hey people

i was bored so i decided to built a program that will or might come useful.

with this program you can check
if your Eco driving is good
how much petrol you might need to travel certain miles

and its got few more options...

i'd like to share this with you guys

if you find any bugs or problems can you please let me know

P.S this program wont work on the Windows Vista

Heres The link, file size it 21 kb
http://www.megaupload.com/?d=PJ2Y5D0R

feedback would be nice he he
 
hey people

i was bored so i decided to built a program that will or might come useful.

with this program you can check
if your Eco driving is good
how much petrol you might need to travel certain miles

and its got few more options...

i'd like to share this with you guys

if you find any bugs or problems can you please let me know

P.S this program wont work on the Windows Vista

Heres The link, file size it 21 kb
http://www.megaupload.com/?d=PJ2Y5D0R

feedback would be nice he he

:confused: Dating site... :eek:
 
lol.. its a web hoster they have adverts, there is a 3 letter code enter that and it should start downloading.

its gonna take VERYYYYY quick to download as its ONLY 21 kb
 
lol.. its a web hoster they have adverts, there is a 3 letter code enter that and it should start downloading.

its gonna take VERYYYYY quick to download as its ONLY 21 kb

OK cool I will try it on my own PC rather than the work one...
 
thanks dan i didnt know how to post it on this forum

megaupload.com somtimes fcks up

for those who want to know this program was created using C++ programming language
 
Last edited:
Nice idea! (y)

There is a small hitch though, the first two menu options rely on hard-coded "price per litre" values. As fuel prices rise on a seemingly hourly basis these days, maybe this should be a user-entered value? :confused:
 
Last edited:
Nice.I like the Eco rating, mines good bout 40mpg:D
Could you pretty please make it so you can change the price of fuel on some of the options
 
Last edited:
Nice idea but I do it with a calculator and a pencil, all you need to know to get MPG is that 1 gallon = 4.545 litres, the rest is simple.
Who am I kidding I can do the calculations in my head.
 
Last edited:
Nice.I like the Eco rating, mines good bout 40mpg:D
Could you pretty please make it so you can change the price of fuel on some of the options


oops sorry i just realised the option 2 will be changed so it calculates to petrol price. OTHER options that involves inputting price of petrol it does the calculations to convert the price into litres buts done behind the program so you dont see it.

thanks for the feedback

this is my calculation for option 2

ltr2gal=4.54; // 1 ltr in gallons is 4.45
factor=10;

gallons = litres/ltr2gal; // calculations to convert litres to gallons
miles = mpg/factor*gallons*factor; // calculating ?? gallons to miles
 
Nice idea! (y)

There is a small hitch though, the first two menu options rely on hard-coded "price per litre" values. As fuel prices rise on a seemingly hourly basis these days, maybe this should be a user-entered value? :confused:

argh sorry guys its supposed to by litres not price!! i will fix it ASAP!
 
Hey guys thanks for letting me know about the little problem, its been sorted out

about option 2 it converts the price you put in to the program into gallons and it uses the gallons value to do the calculation ok

heres the NEW version 2, and again if theres any error then please let me know

thank you again...
 

Attachments

  • MPG_Petrol_Miles_Calculator V2.zip
    7.1 KB · Views: 68
Back
Top