How do we calculate the average value?

By adding up all values and then dividing by the number of valuesBy adding up all values

By adding up all values and then dividing by the number of values.