LLBank - /* / LLBank.java Author: Lewis and Loftus / /...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
//******************************************************************** // LLBank.java Author: Lewis and Loftus // // Solution to Programming Project 6.7 //******************************************************************** import java.util.Scanner; i public class LLBank { private final int MAX = 30; private LLBankCustomer[] customers = new LLBankCustomer[MAX]; private int count = 0; //----------------------------------------------------------------- // Sets up an initially empty bank. //----------------------------------------------------------------- public LLBank() { for (int idx = 0; idx < MAX; idx++) customers[idx] = null; } //----------------------------------------------------------------- // Create a new account. //----------------------------------------------------------------- public void create () { System.out.println ("CREATING A NEW CUSTOMER ACCOUNT"); System.out.print ("Account number? "); Scanner sc = new Scanner (System.in); int acct = sc.nextInt (); int index = findAccount(acct);
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 05/17/2011 for the course COP 3530 taught by Professor Davis during the Spring '08 term at University of Florida.

Page1 / 3

LLBank - /* / LLBank.java Author: Lewis and Loftus / /...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online