+ 1
I would think itâs because of your bounds. The upper bounds you have done <= however since BMI is a continuous value, this may miss out a small interval. Try changing the upper bounds to < (so for normal <25 and for overweight <30)
+ 1
Consider, for instance, the case that someone has an IMC of 24.99. It will not be caught by your code...