#include<stdio.h> #include<math.h> int main() { int m; float h,x,b; scanf("%d %f",&m,&h); x=m/pow(h,2); //printf("%f",x); if(x<18.5) printf("Underweight"); if(x>=18.5&&x<24) printf("Normal"); if(x>=24) { printf("%.4f\nOverweight",b); } }