#include <iostream.h>
#include "joint.h"


// These methods are documented in joint.h


/**********************************************************************
 * Joint::Joint
 **********************************************************************/

Joint::Joint(long oSsn, long jSsn, int number, double balance)
: Checking(number, balance),   // Invoke constructor for base class.
ownerSsn(oSsn), jointOwnerSsn(jSsn)
{
}


/**********************************************************************
 * Joint::printSsn
 **********************************************************************/

void Joint::printSsn(void)
{
   cout << "Owner SSN: " << ownerSsn << endl;
   cout << "Joint SSN: " << jointOwnerSsn << endl;
}
