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 starterHealth Profile structure for a person. The structures members should include the persons 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 users age in years and body mass index (BMI). Test your program for N number of people. It's a C program.

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!