Commit Graph

4 Commits

Author SHA1 Message Date
ac50369914 Add activity level-based daily calorie needs calculation
- Prompt for user input for activity level (Sedentary, Light, Moderate, Active, Very Active, Extra Active).
- Calculate daily calorie needs using BMR and activity level multiplier.
- Compute recommended macronutrient calorie intake (protein, carbohydrates, fat).
- Output BMR, daily calorie needs, and macronutrient breakdown.
2024-06-25 08:17:10 +00:00
b697ca6b29 Refactor PowerShell script for BMR and macronutrient calculation
- Corrected gender comparison to use `-eq` operator instead of assignment.
- Added input validation for gender to gracefully handle invalid inputs.
- Converted height input from cm to meters for accurate calculation.
- Ensured consistent calculation of BMR and macronutrient splits based on gender.
- Improved output formatting for clarity and readability.
2024-06-24 09:44:30 +00:00
a9c3c4c53d Update Nutrition/splits.ps1 2024-02-16 11:02:14 +00:00
7ebcf47d9d Your initial code you gave me! 2024-02-16 10:47:08 +00:00