An open API service indexing awesome lists of open source software.

https://github.com/eapolat/calculate-your-diet

A Java program which takes the kilogram to lose and the number of days to lose those kilograms, and calculates the daily calories to lose. Also it shows a table of fat, protein, carbohydrate in recommended percantages and calories they contain.
https://github.com/eapolat/calculate-your-diet

Last synced: about 2 months ago
JSON representation

A Java program which takes the kilogram to lose and the number of days to lose those kilograms, and calculates the daily calories to lose. Also it shows a table of fat, protein, carbohydrate in recommended percantages and calories they contain.

Awesome Lists containing this project

README

        

# Calculate-Your-Diet

A Java program which takes the kilogram to lose and the number of days, then calculates the daily calories to lose. Also it calculates and displays a table of fat, protein, carbohydrate in recommended percantages and calories they contain.

So, here is a sample output of the program:
Enter kilograms to lose: 15
Enter days to lose 15 kilograms: 60
***********************************************************************************************
To lose 15 kilograms in 60 days you will need a daily deficit of 1925 calories.
***********************************************************************************************
RECOMMENDED DAILY CALORIES TO LOSE 15 KILOS IN 60 DAYS: 75
***********************************************************************************************
MACRO RECOMMENDED PERCENT CALORIES PER GRAM RECOMMENDED CALORIES GRAMS
CARBOHYDRATE 50% 4 38 9,4
FAT 30% 9 23 2,5
PROTEIN 20% 4 15 3,8
***********************************************************************************************

I would love to see your comments, suggestions and upgrades for this project! Hope you like it.

Here you can contact me easily: [email protected] https://twitter.com/Anlpolt