Re: Java Gurus Help
- From: "Oliver Wong" <owong@xxxxxxxxxxxxxx>
- Date: Mon, 13 Mar 2006 20:21:34 GMT
"Andrew.Bell" <zen62619@xxxxxxxxx> wrote in message news:4413711e$0$29578$da0feed9@xxxxxxxxxxxxxxxxx
Below is what my assignment involves, could you basically point me in the right direction to help me acomplish the task set but not give me the acctual answer.
SCENARIO
This assignment is based on a banking system. This mini bank will have 4 customers. The customers each have 4 different accounts (Current Account, ISA Savings Account, Mortgage and Car Loan).
Each customer should be represented as an array with 4 elements (Each element of the array will represent one of their accounts).
Each customer aray should be an array of intergers. Therefore all amounts in the accounts are interger values.
Your main program should allow the user to enter the initial amounts in each account for each customer and then selec from a menu in order to do the following tasks.
1.For a sepcific customer, display details of all their accounts.
2.Get the balance in an account for a specific customer.
3.Add to an account for a specific customer.
4. Withdraw from an account for a sepcified customer.
5.Get the total funds in all of the current accounts in the bank.
6.Get the total funds in all of the ISA's in the bank.
You are to plan, design and impliment and test the mini banking system.
I'm assuming you know how to create methods.
You should create a method for each one of these six operations. For now, just have them do something like print "This is option number 4.", and then write the code for the menu system so that when the user selects an item, the correct method is called (thus displaying the correct message).
From there, implement each method one by one.
This trick is known as "divide and conquer". That is, you divide the one big problem into six smaller problems, and solve each smaller problem individually. If the "smaller" problem is complicated, you can recursively apply the same technqiue, and divide it again into even smaller problems still.
- Oliver
.
- References:
- Java Gurus Help
- From: Andrew Bell
- Re: Java Gurus Help
- From: IchBin
- Re: Java Gurus Help
- From: Andrew.Bell
- Re: Java Gurus Help
- From: IchBin
- Re: Java Gurus Help
- From: Andrew.Bell
- Re: Java Gurus Help
- From: IchBin
- Re: Java Gurus Help
- From: Andrew.Bell
- Re: Java Gurus Help
- From: Andrew.Bell
- Re: Java Gurus Help
- From: Andrew.Bell
- Java Gurus Help
- Prev by Date: Re: Java Gurus Help
- Next by Date: Re: Java Gurus Help
- Previous by thread: Re: Java Gurus Help
- Next by thread: Re: Java Gurus Help
- Index(es):
Relevant Pages
|
|