  public class FixedTermSavingsAccountDriver
  {
  
  public static void main (String [] args)
  {

            FixedTermSavingsAccount  firstAccount, secondAccount;
            String  tempString;
            int     tempInt;
            double  tempDouble;

         //1 
            firstAccount = new FixedTermSavingsAccount  ("adamses");
          
           
         //2.
            secondAccount = new FixedTermSavingsAccount  ("harrisnlee");
         
          
         //3.
            tempInt = firstAccount.compareTo(secondAccount);  
            System.out.println (tempInt + " expected:  -1" );
         
         //4.
            tempString = secondAccount.deposit(12345.6462);
            System.out.println (tempString + " expected: balance updated ");
         // okay if you echo the balance
          
         //5.
            tempString = firstAccount.getAccountID();
            System.out.println (tempString + " expected: FT-0000000000");
         // format as well as number matters
         
         //6.
            tempString = secondAccount.getAccountID();
            System.out.println (tempString + " expected: FT-0000000001");
         // format as well as number matters -- no commas, exact spacing,
         // correct number of digits
         
         //7.
            tempDouble = secondAccount.getBalance();
            System.out.println (tempDouble + " expected: 12345.6462");
         // since getBalance returns a double, format change not expected  
         
         //8.
            tempString = secondAccount.getBalanceMessage();
            System.out.println (tempString + " expected: Balance: $12,345.65");
         // here format matters -- dollar sign, commas, and only 2 places'
         // after decimal point are required  
         
         //9.
            tempString = secondAccount.getUserName();
            System.out.println (tempString + " expected: harrisnl@jmu.edu");
          
         //10.
            tempString = firstAccount.getUserName();
            System.out.println (tempString + " expected: adamses@jmu.edu");
         
          
         //11.
            tempString = firstAccount.deposit(-23.65);
            System.out.println (tempString + " expected: balance not updated");
         // can say something about negative numbers not allowed
         // can echo amount in currency format 
          
         //12.
            tempString = firstAccount.deposit(42.73);
            System.out.println (tempString + " expected: balance updated");
         // can say something about negative numbers not allowed
         // can echo amount in currency format 
 
  
         //13.
            tempString = firstAccount.deposit(1004.52);
            System.out.println (tempString + " expected: balance updated");
         // can say something about negative numbers not allowed
         // can echo amount in currency format 
         
         //14.
            tempString = firstAccount.getBalanceMessage();
            System.out.println (tempString + " expected:  Balance: $1,047.25" );
         // money format is required; so is Balance:
         
         //15.
            tempInt = secondAccount.compareTo(firstAccount);
            System.out.println (tempInt + " expected:  1" );
  
         //16. 
			   tempString = firstAccount.getAccountID();
            System.out.println (tempString + " expected: FT-0000000000");
            // retesting to make sure that non-currency still works.
         
         } // end main
      
      } // end class 
   
   
