Computation of Sum, Average, and Product