Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main()
- {
- int weight;
- int height;
- int BMI;
- cout << "Enter your weight in pounds: ";
- cin >> weight;
- cout << "Enter your height in inches: ";
- cin >> height;
- BMI = (weight *703) / (height * height);
- cout << "Your BMI values is: " << BMI << endl;
- cout << "\nBMI VALUES" << endl;
- cout << "Underweight: less than 18.5\n";
- cout << "Normal: between 18.5 and 24.9\n";
- cout << "Overweight: between 25 and 29.9\n";
- cout << "Obese: 30 or greater\n";
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement