//package cis223.Bank; import myIO.*; public class BankApp { public static void main(String[] args) { Bank aBank = new Bank(); String[] choices = {"open ac", "close ac", "ch dep", "ch withdr", "sav dep", "sav withdr", "show acc", "quit"}; int choice = IO.getChoice("Choose an operation", choices); while (choice < choices.length - 1) { switch (choice) { case 0 : aBank.addNewAccount(); break; case 1 : aBank.deleteAccount(); break; case 2 : aBank.deposit("CheckingAccount"); break; } // end switch choice = IO.getChoice("Choose an operation", choices); } // end while System.exit(0); } }