Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please create a C programme based on the requirements. Requirements: Your system should be able to provide the following: a) Allow users to enter and
Please create a C programme based on the requirements.
Requirements: Your system should be able to provide the following: a) Allow users to enter and update their personal health details (Table 2). b) Enable users to log daily dietary intake, exercise routines and sleep patterns, and calories consumed. c) Categorize and display health data based on input types (Food item list and exercise type) [hints - Consider setting a list of choices for input types to discourage free-entry options]. d) Save all data to a file for future reference and efficient data management, allowing for viewing, editing, and updating. e) Operate continuously until the user opts to exit. Keep in mind that all saved data should be retrievable and loaded into the system upon restarting. f) Display all weekly (Week 1 - Week 4) health data summaries (Table 3). g) Generate the Monthly Health Summary Reports (Table 4) and provide a health summary based on the table. Table 2: Personal Health Details Table 3: Week 1 - Sample Daily Health Data Tracker Semester 1 2022/2023 Table 4 - January 2024 Monthly Health Summary Reports January 2024 Health Summary: Average Caloric Intake: Average Total caloric intake 2200 for the month of is in an acceptable range. Exercise Duration: The calculated monthly exercise duration of 4.66 hours and has met the minimum recommended weekly exercise duration. Average Sleep: The calculated monthly average sleep duration of 7.3 hours falls within the recommended range of 79 hours per night for adults, indicating a reasonable sleepStep 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