题解 | #健康评估#
健康评估
https://www.nowcoder.com/practice/08b28e61ff6345febf09969b3a167f7e
#include<iostream>
using namespace std;
int main()
{
double weight,height;
cin>>weight>>height;
double BMI;
BMI=weight/(height*height);
if(BMI>=18.8&&BMI<=23.9)cout<<"Normal";
else cout<<"Abnormal";
return 0;
}
牛客语法编程题题解 文章被收录于专栏
主要包括牛客的一些语法题的题解
