// table.cpp   Implementation file for Table class
// James Atlas and Phill Conrad, for CISC181, Fall 2004

#include "table.h"


Table::Table()
{
  setNumberOfGuests(0);
}

Table::~Table()
{
  // we don't need to destroy anything yet
}

void Table::setNumberOfGuests(int n)
{
  // The set function currently just sets whatever
  // value we ask for.  It would be good to add some
  // validation to this, so that if you ask for a 
  // bad value, the program prints an error message and
  // halts.

  numberOfGuests = n;
}

int Table::getNumberOfGuests()
{
  return numberOfGuests;
}

