题解 | #健康评估#
健康评估
http://www.nowcoder.com/practice/08b28e61ff6345febf09969b3a167f7e
#include<stdio.h>
int main(){
float heights = 0;
float weight = 0;
scanf("%f %f",&weight,&heights);
if(weight/(heights*heights)>=18.5 && weight/(heights*heights)<=23.9)
printf("Normal\n");
else
printf("Abnormal\n");
return 0;
}