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.
- Host: GitHub
- URL: https://github.com/eapolat/calculate-your-diet
- Owner: eapolat
- Created: 2023-07-17T07:27:10.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-17T07:38:42.000Z (almost 2 years ago)
- Last Synced: 2023-07-17T08:59:10.169Z (almost 2 years ago)
- Language: Java
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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