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

What are the different types of comments allowed in c++?

949


What is boyce codd normal form in c++?

1119


What is abstraction with real time example?

1120


Comment on c++ standard exceptions?

1052


What are the two shift operators and what are their functions?

1055


Is main a class in c++?

977


What ANSI C++ function clears the screen a) clrscr() b) clear() c) Its not defined by the ANSI C++ standard

998


Explain some examples of operator overloading?

1053


Is swift faster than c++?

986


What is the main use of c++?

1081


Is it possible to write a c++ template to check for a function's existence?

974


Why should you learn c++?

985


What is class in c++ with example?

1172


In what situations do you have to use initialization list rather than assignment in constructors?

1034


What is the latest c++ version?

1069