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
Reverse the Linked List. Input: 1->2->3->4->5->NULL Output: 5->4->3->2->1->NULL
Is c++ a software?
Define a constructor?
Do class declarations end with a semicolon?
What is general format for a prototype?
What are arrays c++?
What is a dll entry point?
List the issue that the auto_ptr object handles?
What are the stages in the development cycle?
Explain the register storage classes in c++.
What is a constant? Explain with an example.
What is the function of I/O library in C++ ?
Explain what are accessor methods?
. If employee B is the boss of A and C is the boss of B and D is the boss of C and E is the boss of D. Then write a program using the Database such that if an employee name is Asked to Display it also display his bosses with his name. For eg. If C is displayed it should also display D and E with C?
What's the best free c++ profiler for windows?