about | help | code help+videos | done | prefs |
health
This method is supposed to return a string telling you what to do based on your temperature in degrees Farenheit and your pulse in beats per minute. I will tell you the imporatant break-points for your temperature and your pulse, but I will not tell you the exact details of how to determine the output. It DOES make sense, so a healthy person will not be told to go to the doctor or the emergency room. The break-points for temperature are: 95, 97, 100, and 103. The break-points for pulse are: 30 and 190. Good luck! health(97.5, 87) → "You are fine!" health(105.8, 88) → "You need to go to the emergency room." health(10.8, 85) → "You need to go to the emergency room." ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 440
Copyright Nick Parlante 2017 - privacy