Task 4 of 7 · 0 solved · 7 to go0%
You can read the problem, but answers are checked only for signed-in students. Sign in to answer →

6.2 Data sets — count in a range

Total: 0 / 3 pts
Practice mode — check each part and get hints as you go.
Task

Fill in countInRange so that it returns how many values lie between lo and hi, both ends included.

The program prints 2.

Your solution