This C program calculates Body Mass Index (BMI) and provides a preliminary assessment of the user's health risk based on their weight, height, and whether they are Asian or not.
- Compile the program using a C compiler.
- Run the compiled executable.
- Follow the on-screen prompts to input weight, height, and ethnicity.
- Weight: Enter weight in kilograms (kg).
- Height: Enter height in meters (m).
- Asian: Enter 'Y' for Yes, 'N' for No.
The program displays:
- Calculated BMI
- Health risk assessment
- Ideal BMI category
- Recommended mass reduction to reach "normal" state.
- Assumes metric units.
- BMI calculated using formula: weight / (height * height).
- Health risk assessment and ideal BMI categories are based on standard thresholds.
- Recommendation for mass reduction based on moving BMI to "Normal" category.