/**********************************************************************
 * joint.h --- Class declaration for a simple joint checking account.
 * Tom Kelliher
 *
 * A Joint object consists of a Checking base class with appendant
 * owner and joint owner SSNs.
 * Allowed operations:
 *    Constructor: Create a joint checking account with owner and
 *       joint owner SSNs, an account number, and an account balance.
 *    printSsn: Print the SSNs of the two owner.
 *
 * Public inheritance of the Checking class is used, so see checking.h
 * for other allowed operations.
 **********************************************************************/


#ifndef __JOINT_H
#define __JOINT_H


// Read header file for base class.
#include "checking.h"


class Joint : public Checking   // Checking is inherited with public
                                // access.
{
 private:
   long ownerSsn;
   long jointOwnerSsn;

 public:
   Joint(long oSsn, long jSsn, int number, double balance);
   void printSsn(void);
};

#endif
