Develop a console-based Health Tracker Application
COMP100 Programming 1 – Assignment 2 Develop a console-based Health Tracker Application that allows the users to input and monitor their daily health habits, including water consumption (in liters), calorie intake, and minutes of physical activity. The application should provide a summary of daily health metrics, offering insights into the user’s health habits. Overview: • User Input: Prompt users to enter their daily metrics for water consumption, calorie intake, and physical activity. Validate the inputs to ensure they are reasonable values. Use if statements nested within a loop for validation. • Data Tracking: Use arrays or lists to store daily entries of health metrics. Consider implementing a feature to track metrics over a specified period, such as a week. • Health Goals: Allow users to set personal health goals for water consumption, calorie limits, and physical activity targets. Use conditional statements to compare daily inputs against these goals and provide feedback. • Summary and Insights: At the end of each day, calculate and display a summary of the user’s daily health metrics, including total water consumed, total calories consumed, and total minutes of activity. Provide simple insights based on their goals, such as “Goal achieved!” or “Try to drink more water tomorrow.” Functionality: – When first running the application, prompt the user to set their health goals for water intake, calorie intake, and physical activity. Create a menu-driven interface that allows the user to log their daily metrics or view their summaries and insights. Implement checks to ensure that all user inputs are positive numbers and within realistic ranges. Use loops to enable the user to input data for multiple days. Provide an option to continue logging for the next day or to exit the program. Your program must use a minimum of 2 custom basic methods, and 2 advanced methods. Make sure the methods are relevant to the functionality described above. Your program must use minimum 2 build-in functions of your choice. Make sure the build in function is relevant to the functionality described above. Use a random function to display a specific message from an array of messages (for example: messages array includes the following “Goal achieved”, “Good job”, “You are doing well” and the random function will decide which message should be displayed. Evaluation CRITERIA USE OF IF STATEMENTS USE OF LOOPS ARRAYS OR LISTS 2 BASIC CUSTOM METHODS 2 ADVANCED METHODS RANDOM FUNCTION POINTS 10 – partial points possible 10 – partial points possible 10 – partial points possible 10 – partial points possible 10 – partial points possible 10 – no partial points TOTAL 60 POINTS Submission guidelines (both documents must be submitted): – Package your project as a zip file containing all source code files A word document with all your code.
Collepals.com Plagiarism Free Papers
Are you looking for custom essay writing service or even dissertation writing services? Just request for our write my paper service, and we'll match you with the best essay writer in your subject! With an exceptional team of professional academic experts in a wide range of subjects, we can guarantee you an unrivaled quality of custom-written papers.
Get ZERO PLAGIARISM, HUMAN WRITTEN ESSAYS
Why Hire Collepals.com writers to do your paper?
Quality- We are experienced and have access to ample research materials.
We write plagiarism Free Content
Confidential- We never share or sell your personal information to third parties.
Support-Chat with us today! We are always waiting to answer all your questions.