getAvg method

num getAvg()

Implementation

num getAvg() {
  return totalNum / items.length;
}