GeekInterview.com
Series: Subject: Topic:
Question: 12 of 51

Read the heights in inches and wieght in pounds

Read the heights in inches and wieght in pounds of an individual and compute and print their BMI=((weight/height)/height)*703
Asked by: jovan | Member Since Mar-2010 | Asked on: Mar 31st, 2010

View all questions by jovan

Showing Answers 1 - 1 of 1 Answers
Sandhya.Kishan

Answered On : Apr 17th, 2012

View all answers by Sandhya.Kishan

#include
#include
void main
{
int h,w,bmi;
clrscr();
printf{"Enter your height in inches:"};
scanf{"%d",&h};
printf{"Enter your weight in pounds:"}
scanf{"%d",&w};
bmi=((w/h)/h)*703;
printf{"BMI=%d",&bmi};
getch();
}

  
Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.