Question: needed in ADA Project description: implement the following functions in Ada programming language: One way to estimate the height of a child is to use

needed in ADA needed in ADA Project description: implement the following functions in Ada programming
language: One way to estimate the height of a child is to

Project description: implement the following functions in Ada programming language: One way to estimate the height of a child is to use the following formula, which uses the height of the parents: For male child HChild-((Hmother * 15/12) +Hfathery2 For female child: HChild=((Hfather * 14/13)+Hmothery2 All heights are in inches. Write a program that takes as input parameters the gender of the child height of the mother in inches, and height of the father in inches, and outputs the estimated height of the child in inches. The user should be able to input the heights in inches, feet or centimeters, and the program should output the estimated height of the child in inches, feet and in centimeters. Use the integer data type to store the heights. 1 cm = 0.393701 inches 1 feet = 12 inches Project description: implement the following functions in Ada programming language: One way to estimate the height of a child is to use the following formula, which uses the height of the parents: For male child HChild-((Hmother * 15/12) +Hfathery2 For female child: HChild=((Hfather * 14/13)+Hmothery2 All heights are in inches. Write a program that takes as input parameters the gender of the child height of the mother in inches, and height of the father in inches, and outputs the estimated height of the child in inches. The user should be able to input the heights in inches, feet or centimeters, and the program should output the estimated height of the child in inches, feet and in centimeters. Use the integer data type to store the heights. 1 cm = 0.393701 inches 1 feet = 12 inches

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!