Question: C++ (30 points) A simple rule to estimate your ideal body weight is to allow 110 pounds for the frst 5 feet of height and

C++
(30 points) A simple rule to estimate your ideal body weight is to allow 110 pounds for the frst 5 feet of height and 5 pounds for each additional inch. Write a program with a variable for the height of a person in feet and another variable for the additional inches and input valuies or riables from the keyboard. Calculate the person weight if the tall is at least error message. For example, a person that is 6 feet and 3 inches tall would be represented with a variable that stores the number 6 and another variable that stores the number 3. Based on these values calculate and output the ideal body weight. Include all required libraries. 5 feet, else print an Sample output 1: Enter the height in Teet and nches nter the height in feet and inches annot calculate the weight Sample output 2: 5
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
