/**
 * Bank account class that holds the balance and performs transactions.
 * @author Fred Kral
 * @version 1.0
 */


/* javadoc -author -version ../TestAccount.java ../Account.java */


public class Account {
	
	...
	
	
	/**	
	 * Constructor with initial deposit
	 * @param initialDeposit Opening balance
	 */
	public Account (double initialDeposit){
		balance = initialDeposit;
		
		
		...
		
		
		/**
		 * Get the account balance 
		 * @return Current balance
		 */
		public double getBalance(){
			return balance;
		}
		
		...
		
		/** 
		 * Print the current balance with text before and after and new line
		 * @param preString Text to print before the balance is printed
		 * @param postString Text to print after the balance is printed
		 */
		public void printBalance (String preString, String postString){
			System.out.print(preString + " $");
			printBalance();
			System.out.print(" " + postString + "\n");
		}
		
		
	}
