Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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 histories among their various health care professionals. In this project, you will design and implement a basic HealthProfile structure for a person using C. The structures members should include the persons first name, last name, gender, and date of birth (consisting of separate attributes for the month, day and year of birth). Program should: Declare a HealthProfile structure variable and a pointer to the structure type, and initialize this pointer to the address of the HealthProfile structure variable in the main() function have another function that prompts for the persons information, and receives these data and uses them to set the members of the HealthProfile structure variable created in the main() function. This function should be called by-reference in the main() function Have another function that receives the year of birth, and then calculate and return the users age in years Have another function that prints all the information of a person by using either the HealthProfile variable or the pointer to this variableincluding the persons first name, last name, gender, date of birth, and also print the persons age in years All these three functions should be called at least once

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Database Management

Authors: Jeff Hoffer, Ramesh Venkataraman, Heikki Topi

12th edition

133544613, 978-0133544619

More Books

Students also viewed these Databases questions

Question

What is an interbank transfer schedule, and why is it needed?

Answered: 1 week ago

Question

2. Write two or three of your greatest weaknesses.

Answered: 1 week ago