A class counted their pulse for s while sitting, and again after a minute of running on the spot. You will turn the counts into heart rates, find how much each rate went up, and name the student whose rate went up most. Then the program draws the two rates side by side.
The idea. A minute is four times s, so a heart rate is the count times .
Your tasks.
rest to the heart rate of each student while sitting.rise to how much each heart rate went up after running.most to the name of the student whose rate went up the most.Have you tried it?
Do the tasks in the editor first, and run the checker after each one. Its hints help when a check fails. When you are ready, compare your code with this solution.
Log in to join the discussion.
Loading…