The function below has a parameter new_rate, but it ignores it and reads the outside variable rate. Change it to use the parameter. The checker calls it with different rates.
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…