BMI output

my output doesnt show for the bmi .please help.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
 #include<iostream>
using namespace std; 

   
    

  
int main() { 
	 string name;
	double age; 
	double weight ;
	double feet;
	double inches;
	double height;
	double bmi;
    cout<<"what is the name of the patient?\n";
    cin>>name;
    cout<<"what is the age of the patient?\n";
    cin>>age;
	cout<<"What is the weight of the patient?\n";
	cin>>weight;
	cout<<"what is the height in feet of the patient?\n";
	cin>>feet;
	cout<<"what is the height in inches of the patient?\n";
	cin>>inches;
    return 0; 

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

cout<<"Your BMI is"<< bmi<<endl;



} 
nvm i saw what was wrong
Topic archived. No new replies allowed.