Practice · 3 of 3
BMI Band
CHALLENGE
Difficulty: beginner+25 XP
Implement const char* bmi_band(double bmi): below 18.5 -> "under", below 25 -> "normal", below 30 -> "over", else "obese". Return the exact strings.
Press Submit to check your solution.
Back to lesson: Practice: Decision Bench