提交时间:2020-10-31 16:13:05

运行 ID: 8144

#include<bits/stdc++.h> using namespace std; int main(){ int m; double h,a,c; cin>>m>>h; a=h*h; c=m/a; if(c<18.5) cout<<"Underweight"; if(c>18.5&&c<24) cout<<"Normal"; if(c>24) cout<<c<<endl<<"Overweight"; return 0; }