//**************************************************************
//
// CS 240C   :Spring 2003 Ohio University Travis Dillon
// Project 2 :Emergency Room Triage
// file      :average.h
// started   :04-21-03
//
//**************************************************************

#ifndef AVERAGE_H
#define AVERAGE_H

#include "prog2.h"

class Average
{
 public:
   Average();
   void next_number(Time value);
   size_t how_many_numbers() const {return count;}
   Time the_average()const;
 private:
   size_t count;  //number of items to be averaged
   Time sum;  //sum of all items to be averaged
};

#endif  //AVERAGE_H