Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Collect these three data points through the user input ( ) functions that are provided for you. Note that some of the inputs will be
Collect these three data points through the user input functions that are provided for you. Note that some of the inputs will be cast to the correct data type for you.
Men within inches and inches tall and between and lbs are needed for this study.
Women between and inches and and lbs are needed for this study.
Create flow logic to determine whether an inputted patient is within the thresholds. Set the appropriate flags to either True or False based on the user inputs.
The following flag variables need to be used in order for the autograder to recognize their correctness:
tootallflag
tooshortflag
tooheavyflag
toolightflag
If they are an outlier, print a message indicating they are not eligible and tell them which thresholds they did not meet. Create as many ifelifelse statements as you need to accomplish this task. For example, the table below indicates potential inputs and outputs:
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