Question: 1 Collect these three data points through user input ( ) boxes. Men within 6 2 inches and 8 0 inches tall and between 1
Collect these three data points through user input boxes. Men within inches and inches tall and between and are needed for this study. Women between and inches and and are needed for this study. Create flow logic to determine whether an inputted patient is within the thresholds. 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:
Entered inputs
Output:
Sex Weight Height
Male Participant is too tall
Male Participant is too light
Female Participant is too short
Female Participant qualifies for the study
In order to analyze data, we need to handle the many possible ways that these data could be entered. For example, sex could be entered into a textbox as "female", f "Female", "Male", "Man", "woman", or it could be mispelled. Use some combination of ifelifelse statements including or andor "and" criteria andor string formatting eg converting case or examining only the first letter to handle as many possibilities as you can think of to handle every type of input.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
