Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Write a program to calculate the BMI of a person using the
formula BMI = weight/height2.

Answer Posted / g.durga

main()
{
float bmi;
int weight,height;
printf(enter weight and height");
scanf("%d%d",&weight,&height);
bmi=weight/height;
print("%f",bmi);
getch();
}

Is This Answer Correct ?    12 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I start a c++ project?

1002


What are pointer-to-members in C++? Give their syntax.

1081


Name the operators that cannot be overloaded in C++?

1001


What is the difference between passing by reference and passing a reference?

1023


What are the advantages of pointers?

1014


What is atoi in c++?

1017


What are activex and ole?

1007


Which bit wise operator is suitable for turning off a particular bit in a number?

1052


What is the difference between a definition and a declaration?

1005


What c++ library is string in?

1000


What are the various storage classes in C++?

1088


Why we use #include iostream in c++?

990


What is buffer and example?

941


What is extern c++?

944


What is c++ similar to?

1135