#include<stdio.h> #include<string.h> int main() { float weight , height , b , bmi(int , int); while(scanf("%f %f", &weight,&height) != EOF) { b = bmi(weight , height); if(b < 18.5) puts("Underweight"); if(b >= 18.5 && b <= 23.9) puts("Normal"); if(b > 23.9 && b <= 27.9) puts("Overweight"); if(b > 27.9) puts("Obese"); }

} float bmi(int weight , int height) { float d,high2; high2=height/100.0; d=weight/(high2*high2); return d; return weight / (height * height); }