BMI help

I get an error at the return line can someone help?

int main()

{
int feet;
float inches, height, weight, BMI;

cout<<"BMI Calculator"<<endl;
cout<<"Step 1: Enter your height below"<<endl;
cout<<"Feet"<<endl;
cin>>feet;
cout<<"Inches"<<endl;
cin>>inches;

cout<<"Step 2: Enter your weight in pounds"<<endl;
cin>>weight;

cout<<"Your BMI is:"<<BMI<<endl;
cout<<" BMI Weight Status"<<endl;
cout<<"Below 18.5 Underweight"<<endl;
cout<<" 18.5-24.9 Normal"<<endl;
cout<<" 25.0-29.9 Overweight"<<endl;
cout<<"30 & Above Obese"<<endl;

height=(feet*12)+inches;
BMI=(height*703)/(height*height);

//Pause to read output
system ("pause")

return 0;

}
Last edited on
You are missing semoclon at line system ("pause")
please use code tags <>
Topic archived. No new replies allowed.