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