```
#include<iostream.h>
#include<conio.h>
#include<stdio.h>
#include<math.h>
main()
{
system("cls");
int h,w,m;
cout<<"Press1,if you are male"<<endl;
cout<<"press2,if you are female"<<endl;
cin>>m;
if(m==1)
{
cout<<"you are male"<<endl;
}
if(m==2)
{
cout<<"you are female"<<endl;
}
cout<<"Enter your height=";
cin>>h;
cout<<"Enter your weight=";
cin>>w;
if(m==1)
{
if(h<60)
{
cout<<"you are unfit";
}
if(h>=60&&h<65)
{
if(w<45)
cout<<"you are unfit";
if(w>=45&&w<55)
cout<<"you are fit";
if(w>=55&&w<60)
cout<<"you are acceptable";
if(w>=60)
cout<<"you are unfit";
}
if(h>=60&&h<70)
{
if(w<55)
cout<<"you are unfit";
if(w>=55&&w<65)
cout<<"you are fit";
if(w>=65&&w<75)
cout<<"you are acceptable";
if(w>=75)
cout<<"you are unfit";
}
if(h>=70)
cout<<"you are unfit";
}
if(m==2)
{
if(h<54)
{
cout<<"you are unfit";
}
if(h>=54&&h<60)
{
if(w<40)
cout<<"you are unfit";
if(w>=40&&w<50)
cout<<"you are fit";
if(w>=50&&w<55)
cout<<"you are acceptable";
if(w>=55)
cout<<"you are unfit";
}
if(h>=60&&h<64)
{
if(w<45)
cout<<"you are unfit";
if(w>=45&&w<55)
cout<<"you are fit";
if(w>=55&&w<60)
cout<<"you are acceptable";
if(w>=60)
cout<<"you are unfit";
}
if(h>=64)
cout<<"you are unfit";
}
getche();
}
```

0