Java · Arrays
A total, an average or a count needs every element once, and one loop shape visits them all.