Checkpoint: the reading log
Challenge on lesson: Checkpoint: the reading log
CHALLENGE
Difficulty: beginner+25 XP
Complete the Log class: record(int reading) stores one reading; average() returns the average of all recorded readings (integer division), or 0 when nothing was recorded. getCount() is provided.
Press Submit to check your solution.
Back to lesson: Checkpoint: the reading log