题解 | #健康评估#
健康评估
https://www.nowcoder.com/practice/08b28e61ff6345febf09969b3a167f7e
#include <stdio.h> int main() { double height = 0; double weight = 0; scanf("%lf %lf", &weight, &height); printf("%s\n", (weight / (height * height) >= 18.5 && (weight / (height * height)) <= 23.9) ? "Normal" : "Abnormal"); return 0; }