Question: USE C++ Write a program that prompts the user for a weight in pounds and a waistline in inches and computes these four sizes using
USE C++
Write a program that prompts the user for a weight in pounds and a waistline in inches and computes these four sizes using these two inputs.
The sizes are based on the following formulas:
Neck Size Divide the customer's weight by their waistline . Multiply this result by 3.
Hat Size Divide the customer's neck size by 2.125.
Shoe Size Divide the customer's waistline by their weight. Don't confuse this with step 1 of neck size. Multiply this result by 50.0.
Arm Length Divide the customer's waistline by 2.0. Your grade will be computed as follows:
The User will enter the waistline and weight. Store the inches as an integer and the weight as a float. Store the result of each size in floats.
Create formulas for each of the measurements. . The output will be each computed size formatted with two decimal places.
Display each size in the size column right justified. Display each item in the article column left justified.
The output will be displayed as a chart. Be sure to center the label for each column. For example, if a male has a 36 inch waistline and weighs 200 pounds, then his chart will look like this:

Article Size Neck Hat Shoe Arm Length 16.66 7.84 9.00 18.00
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
