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 / nitin kalambe

void main()
{
float BMI,weight,height;
cout<<"Enter you weight and height"<<endl;
cin>>weight>>height;
BMI=weight/height*height;
cout<<"Your BMI is "<<BMI;
getch();
}

Is This Answer Correct ?    7 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by global variables?

1074


Can there be at least some solution to determine the number of arguments passed to a variable argument list function?

999


What are structs in c++?

1028


What are keywords in c++?

1095


What is c++ programming language?

1098


Which c++ operator cannot overload?

1012


Describe private, protected and public – the differences and give examples.

1192


What does new do in c++?

1068


What do the keywords volatile and mean mutable?

1050


Is dev c++ free?

1043


Is c++ a good first language to learn?

1065


Why is c++ a mid-level programming language?

1040


Can you use the function fprintf() to display the output on the screen?

1245


What are stacks?

1055


Does improper inheritance have a potential to wreck a project?

1138