#include<iostream>
using namespace std;
const float FoottoInch(12);
const float InchtoMeter(0.0254);
const float PoundtoKilogram(2.2);
int main()
{
float foot,inch,pound;
float height,weight,BMI;
cout<<"Enter the feet of your height:";
cin>>foot;
cout<<endl<<"Enter the inches of your height:";
cin>>inch;
cout<<endl<<"Enter the pounds of your weight:";
cin>>pound;
height=(foot*FoottoInch+inch)*InchtoMeter;
weight=pound*PoundtoKilogram;
BMI=weight/(height*height);
cout<<endl<<"Your Body Mass Index is:"<<BMI;
return 0;
}