Write a program to design a starterHealth Profile structure for a person. The structures members should include
Fantastic news! We've Found the answer you've been seeking!
Question:
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.
Related Book For
Data Structures and Algorithm Analysis in Java
ISBN: 978-0132576277
3rd edition
Authors: Mark A. Weiss
Posted Date: