提交时间:2020-08-22 10:28:01
运行 ID: 6009
#include<iostream> using namespace std; int main() { double m, h, bml; cin>>m>>h; bml=m/(h*h); if (bml<18.5) { cout<<"Underweight"; } else if (bml>=18.5 && bml<24) { cout<<"Normal"; } else { cout << bml <<endl; cout << "Overweight"; } return 0; }