题解 | #健康评估#
健康评估
https://www.nowcoder.com/practice/08b28e61ff6345febf09969b3a167f7e
#include <stdio.h>
int main() {
float a, b;
scanf("%f %f", &a, &b) ;
float BMI=a/(b*b);
if(BMI<=23.9&&BMI>=18.5)
printf("Normal");
else
printf("Abnormal");
return 0;
}
b*b记得加()*/的优先级一样,程序从左向右运算

