Question: 10THE DATING RANGE PROBLEM Write a function named datingRange() that accepts three parameters: an integer input parameter for a person's age, and two integer output
10THE DATING RANGE PROBLEM Write a function named datingRange() that accepts three parameters: an integer input parameter for a person's age, and two integer output parameters for a minimum and maximum The function should fills the min/max integers with the person's xkcd "dating range" as described in the following web comic strip THIS SUCKS THEMEDIAN FIRST MHRRIAGE AS YOU GET OLDER THE DATEABE AGE THIS WITH CENSUS BUREAU SAY ANYTHING ABOUT AGE IS 26. THE POOL OF RANGE GETS WIDER. AN 18-YEPROLDS NUMBERS JUST UAST WEEKEND THE DATING PROSPECIS SINGLES ISS YES OLDER SINGLES ARE RARER BUT I DID SOME ANALYSIS OFDD YOUR ANALYSIS COMEON. SOMEWHERE G RANGE IS 16-22, LHEREAS A 30-YEAR YOUR DATING ROOL ACTUPLLY OF PEOPPENDAT THE OF THE BELL IM RUNNING ACTUALLY OUT OF TIMENOT QUITE SO DONT FRET o MUCH! MAKING GRAPSCURVE IS THE GIRL FOR ME INGLES +7 as Your minimum xkcd dating age is half your own age plus 7. Your maximum xkcd dating range is your own age, minus 7, then doubled. For example, the call datingRange(48, min, max); sets min to 31 and max to 82. You may assume that the age value passed is a non-negative integer
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
