Skip to content

kayraobi/LLMBmiCalculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BMI Calculator

📋 Project Overview

The BMI Calculator project allows users to calculate their Body Mass Index (BMI) and better understand their health and fitness status. By entering their height, weight, age, gender, and activity level, users receive personalized health suggestions, fitness tips, and motivational messages based on their results. The project is implemented in Python, JavaScript, and C#, making it accessible across different platforms.


🚀 Features

1. BMI Calculation

  • Computes BMI based on user inputs: weight, height, age, gender, and activity level.
  • Categorizes BMI into the following categories:
    • Underweight
    • Normal weight
    • Overweight
    • Obese

2. LLM-Powered Personalized Recommendations

  • Provides health and diet suggestions for each BMI category using LLM-generated content.

3. Motivational Messages

  • Displays short, personalized motivational quotes for each BMI category.

4. Calorie Calculation

  • Estimates daily caloric needs using the Harris-Benedict formula, considering the user's activity levels.

5. Data Persistence

  • Saves user data in a history.json file.
  • Allows users to view their past records for tracking progress.

6. Interactive User Experience

  • User-friendly interface with:
    • Clear prompts
    • Input validation
    • A loop for recalculations and reusability

7. ASCII Art Display

  • Unique feature to visually represent BMI categories for better engagement.

💻 Languages and Frameworks

Why Python for this project?

  • Ease of Use: Beginner-friendly syntax for quick implementation.
  • Built-in Functions: Handles user input and math operations effectively.
  • Cross-Platform: Runs seamlessly on Windows, macOS, and Linux.

Why JavaScript for this project?

  • Common Language: Widely used, making it familiar for most developers.
  • Event-Driven: Non-blocking, fast user input handling via Node.js.
  • Cross-Platform: Supported on all major operating systems.

Why C# for this project?

  • Object-Oriented Structure: Organizes and structures code effectively.
  • Cross-Platform: Supported by .NET Core for Windows, macOS, and Linux.
  • Performance: Compiled language with optimized performance for applications.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •