I\'m trying to format a double into a time in Java.
Here is my current code:
int food_intake = 1000; int calories_burned_per_hour = 173 double hours = food