The function average(a, b, c) should return the arithmetic mean of three numbers: add them all up and divide by three.
The formula is written right there on one line. But for most inputs, the result is way off — usually too high.
Can you spot where the math breaks down?