Files
Powershell/Nutrition/splits.ps1
Ross Healy 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

1.2 KiB