#include #include #include using namespace std; int main() { double weightLb, heightIn; cout << "How much do you weigh (in pounds)? "; if (!(cin >> weightLb)) return EXIT_FAILURE; cout << "How tall are you (in inches)? "; if (!(cin >> heightIn)) return EXIT_FAILURE; double bmi = (weightLb * 703)/ (heightIn * heightIn); cout << fixed << setprecision(2); cout << "Your BMI is " << bmi << "." << endl; return EXIT_SUCCESS; }