generating a unique bank account
Posted on 2004-04-23
Hello, I am wondering if you can help me with my homework assignment.
I am trying to create a program that runs in bank teller machine. From this teller if existing customer, you can withdraw, deposit and check balances, If not, you can become a new customer. When someone becomes a customer, an account number that identifies this particular cliet is generated. How can I write a method to generate this account number? The only information I am requesting from the new client is first name, lastname, telephone, and initial desposit.