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

Evaulate: 22%5 a) 2 b) 4 c) 0

1095


What do you mean by enumerated data type?

1051


What is the use of 'this' pointer?

1253


What is malloc in c++?

1019


Do the names of parameters have to agree in the prototype, definition, and call to the function?

1031


what is VOID?

1073


What is the basic structure of c++ program?

1103


When do we run a shell in the unix system? How will you tell which shell you are running?

985


How does list r; differs from list r();?

1159


What is enum class in c++?

1259


What is a c++ map?

1412


How do you print a string on the printer?

1040


What is an undefined reference/unresolved external symbol error and how do I fix it?

1126


Is c++ slower than c?

1048


What sorting algorithm does c++ use?

1156