Answered step by step
Verified Expert Solution
Link Copied!

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 62 inches and 80 inches tall and between 150 and 280 lbs are needed for this study.
Women between 59 and 71 inches and 100 and 180 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 auto-grader to recognize their correctness:
too_tall_flag
too_short_flag
too_heavy_flag
too_light_flag
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 if/elif/else 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

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

Real Time Database Systems Architecture And Techniques

Authors: Kam-Yiu Lam ,Tei-Wei Kuo

1st Edition

1475784023, 978-1475784022

More Books

Students also viewed these Databases questions