Question: Write a program to design a starterHealth Profile structure for a person. The structures members should include the persons first name, last name, gender, date

Write a program to design a “starter”Health Profile structure for a person. The structure’s members should include the person’s first name, last name, gender, date of birth (consisting of separate attributes for the month, day and year of birth), height (in inches) and weight (in pounds). Your program should have a function that receives this data and uses it to set the members of a Health Profile variable. The program also should include functions that calculate and return the user’s age in years and body mass index (BMI). Test your program for N number of people.

Step by Step Solution

3.42 Rating (155 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To solve this problem you need to design a program that defines a starter Health Profile structure for individuals and includes functions to calculate ... View full answer

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 Programming Questions!