提交时间:2020-10-31 17:16:38

运行 ID: 8206

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