Question
A health care issue that has been in the news lately is the computerization of health records. This possibility is being approached cautiously because of
A health care issue that has been in the news lately is the computerization of health records. This possibility is being approached cautiously because of sensitive privacy and security concerns, among others. Computerizing health records could make it easier for patients to share their health profiles and history among their various health care professionals. This could improve the quality of health care, help avoid drug conflicts and erroneous drug prescriptions, reduce costs and in emergencies could save lives. In this exercise, you will design a starter HealthProfilestructure for a person. The structures members should include the persons first name, last name, gender, height (in inches) and weight (in pounds).
Your program will create an array of HealthProfile structure for up to 30 people. The user will enter the information and store them into the array of HealthProfile structure. Your program will display the information in a tubular format with values aligned properly.
Then, write a function to calculate the average of the weight.
struct healthProfile {healthProfile {
char first[15];
char last[15];
char gender[1];
int height; // in inches
int weight; // in pounds
};
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started