Write a C++ program that asks the user to input the height of the mother as whole number (in inches) and the height of t
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Write a C++ program that asks the user to input the height of the mother as whole number (in inches) and the height of t
vas.fsu.ed There's no definite way to predict a child's adult height precisely. However, some formulas can provide an estimate for child growth. Here's a popular example: . Add the mother's height and the father's height in either inches or centimeters. Add 5 inches (13 centimeters) for boys or subtract 5 inches (13 centimeters) for girls. Divide by two. ● Write a C++ program that asks the user to input the height of the mother as whole number (in inches) and the height of the father as a whole number (in nches). It should compute the estimated height if this couple had a boy and he estimated height if this couple had a girl and display both these values.
vas.fsu.ed There's no definite way to predict a child's adult height precisely. However, some formulas can provide an estimate for child growth. Here's a popular example: . Add the mother's height and the father's height in either inches or centimeters. Add 5 inches (13 centimeters) for boys or subtract 5 inches (13 centimeters) for girls. Divide by two. ● Write a C++ program that asks the user to input the height of the mother as whole number (in inches) and the height of the father as a whole number (in nches). It should compute the estimated height if this couple had a boy and he estimated height if this couple had a girl and display both these values.