#include
using namespace std;
const int inch2foot=12;
const double inch2meter=0.0254;
const double pound2kilo=2.2;
int main()
{
double foot,inch,pound,BMI,height,weight;
cout<<"输入身高(英尺 英寸):(如输入1 12,表示1英尺12英寸)" <
cout<<"输入体重(单位:磅):"<
height=inch2meter*(foot*inch2foot+inch);
weight=pound/pound2kilo;
cout<<"BMI="<