Skip to main content

Practice ยท 3 of 3

Average Without the Trap

Implement double average(int total, int count) returning the true mathematical average. The starter's signature is already double โ€” the fix is in the division, not the type.

Difficulty: beginner

Back to lesson: Practice: Arithmetic Clinic