public class BankRun {

    public static void main(String[] args) {

	// create a bank account with 200 balance
	BankAccount account = new BankAccount(200);

	// deposit 75 into the account
	account.deposit(75);

	// try to withdraw 250 from the account and 
	// print a message indicating success or failure
	boolean success = account.withdraw(250);
	if (success) {
	    System.out.println("$250.00 successfully withdrawn");
	} else {
	    System.out.println("$250 withdrawal rejected");
	}

	// print the balance of the account
	System.out.println("Balance for account: " + account.getBalance());
    }
} //BankRun

