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
What is the difference between a baller and a reference in C++?
What are the differences between java and c++?
What is time h in c++?
What is a local variable?
Why do we use the using declaration?
what is oops and list its features in c++?
What things would you remember while making an interface?
Can I learn c++ without learning c?
What is the use of turbo c++?
What is difference between class and structure in c++?
What do you know about near, far and huge pointer?
what are the characteristics of Class Members in C++?
What do you mean by inheritance in c++?
What is srand c++?
what you know about c++?