提交时间:2020-08-22 10:40:16
运行 ID: 6024
#include <iostream> using namespace std; int main() { double 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 ; }