#include<iostream>
using namespace std;
int main()
{
double weight;
double height;
cout <<"Enter your weight in pounds :";
cin >> weight;
cout << endl;
cout <<"Enter your height in inches :";
cin >> height;
cout << endl;
cout <<"Weight is given by " << weight << endl;
cout <<"Height is given by " << height << endl;
double bmi = ( weight * 703 ) / ( height * height );
if (bmi < 18.5)
cout << " Underweight " << endl;
else if(bmi < 25)
cout << " Normal " << endl;
else if(bmi < 30)
cout << " Overweight " << endl;
else
cout << " Obese " << endl;
return 0;
}
I2luY2x1ZGU8aW9zdHJlYW0+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CgppbnQgbWFpbigpCnsKCWRvdWJsZSB3ZWlnaHQ7Cglkb3VibGUgaGVpZ2h0OwoJY291dCA8PCJFbnRlciB5b3VyIHdlaWdodCBpbiBwb3VuZHMgOiI7CgljaW4gPj4gd2VpZ2h0OwoJY291dCA8PCBlbmRsOwoJY291dCA8PCJFbnRlciB5b3VyIGhlaWdodCBpbiBpbmNoZXMgOiI7CgljaW4gPj4gaGVpZ2h0OwoJY291dCA8PCBlbmRsOwoJY291dCA8PCJXZWlnaHQgaXMgZ2l2ZW4gYnkgIiA8PCB3ZWlnaHQgPDwgZW5kbDsKCWNvdXQgPDwiSGVpZ2h0IGlzIGdpdmVuIGJ5ICIgPDwgaGVpZ2h0IDw8IGVuZGw7Cglkb3VibGUgYm1pID0gKCB3ZWlnaHQgKiA3MDMgKSAvICggaGVpZ2h0ICogaGVpZ2h0ICk7CglpZiAoYm1pIDwgMTguNSkKCQljb3V0IDw8ICIgVW5kZXJ3ZWlnaHQgIiA8PCBlbmRsOwoJZWxzZSBpZihibWkgPCAyNSkKCQljb3V0IDw8ICIgTm9ybWFsICIgPDwgZW5kbDsKCWVsc2UgaWYoYm1pIDwgMzApCgkJY291dCA8PCAiIE92ZXJ3ZWlnaHQgIiA8PCBlbmRsOwoJZWxzZSAKCQljb3V0IDw8ICIgT2Jlc2UgIiA8PCBlbmRsOyAKCXJldHVybiAwOwp9