Question: The Code needs to be in ADA Programming Language. Instructions The assessment tool is aligned to the following module SLOs: develop formal methods for describing

 The Code needs to be in ADA Programming Language. Instructions The

The Code needs to be in ADA Programming Language.

Instructions The assessment tool is aligned to the following module SLOs: develop formal methods for describing syntax and semantics 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) + Hfather)/2 For female child: HChild=((Hfather * 14/13)+Hmother)/2 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 Instructions The assessment tool is aligned to the following module SLOs: develop formal methods for describing syntax and semantics 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) + Hfather)/2 For female child: HChild=((Hfather * 14/13)+Hmother)/2 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!