// Account.C
#include "Account.h"

Account::Account()
{
  numCents = 0;
}

Account::Account(int cts)
{
  numCents = cts;
}

double Account::Dollars() const
{
   return numCents / 100.0;
}


void Account::Deposit(int cts)
  // POST: numCents is numCents<entry> + cts
{
  numCents += cts;
}

bool Account::operator ==(Account a2) const
{
  return numCents == a2.numCents;
}
