Average of Three: a coding challenge

A student's three internal marks, and their average.