/* Make a menu driven program that will allow the user
 * to do the following options:

   1. Overdrawn accounts
   2. Normal accounts, etc.
   
*/
import java.io.*;
public class Exercise_4_3_2 {

// add keyboard connection lines here:


// create methods to perform actions here
    public static void overdrawnAccounts( /* enter names of arrays here */ ) {
    	// add loop to check balance of account and then print out name and balance (see picture) 
    
    }
	
	// main method
	public static void main (String[] args) throws Exception {
// create the two arrays and add values

// Remove the Q once you have completed the keyboard stuff
		String choice = "Q";
//
		do {
			// display menu
			System.out.println ("HTS Bank Main Menu");
			System.out.println ("(O)verdrawn accounts");
// etc. (complete options)
			System.out.println ("(Q)uit");
			
			// get choice
			System.out.print("Enter choice (O/../Q): ");
// get choice from keyboard entry

			
			// if statement to take care of choices
			if (choice.equalsIgnoreCase("O")) {
			// enter method call to find negative values in array:
			// overdrawnAccounts( /* enter names of the two arrays */ );
			// 
					
			} 
// add else if situations for other menu choices


		} while (!choice.equalsIgnoreCase("Q"));
		
	}
}