FORUMS
Remove All Ads from XDA

Fuel Calculator - code problem

1 posts
Thanks Meter: 0
 
By Catalins, Junior Member on 2nd May 2017, 08:08 PM
Post Reply Email Thread
Hi,

I'm trying to make a Fuel Calculator for Android, but the problem I have is that I don't know the code commands in Android Studio Java. What do I need to know is how do I tie the buttons to these formulas?
100 x Fuel/KM = Consumption
Fuel/Consumption x 100 = The distance that can be traveled
Fuel – Done KMs*Consumption/100 = Fuel remaining
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes