Dears,
please help me solving this question:
Assignment Details:
• Assume that you got a cheque, and you walked to the Drawer’s Bank/Branch to withdraw the amount of your cheque (as a CASH payment, not to deposit the cheque into your bank account).
• This cheque is called a Counter Cheque in the banking industry, and the payment process is known as (Cash Payment/Withdrawal of the Cheque).
• The Branch Teller shall receive your cheque and validates that it is a genuine cheque before accepting and stamping it, and before validating the drawer (payer balance if it is sufficient or not, then the last step is to verify the Counter Cash Balance in order to pay the amount of the cheque to the customer.
• Now, assuming that the Payer Account has a Sufficient Balance, and the Counter Balance has a Sufficient Amount of Money to pay the cheque’s amount (5320 JOD) to you, then the system/module that you will develop is expected to do the following:
o Validate the Cash Balance if it covers the amount of the cheque (if the balance is sufficient or not)
o Validates the number of straps withdrawn/returned to the customer not to exceed the available balance in the Cash Box, assuming that the Cash Box has the following denominations of money:
o *Cheque Amount = 5320 JOD
Cash Box Cheque Amount 5320 Total
denomination Strap size NO. of straps/bundles No. of coins No of strap returned No of Coins returned
50 100 2 15 1 6 5300
20 100 3 25 0 1 20
10 100 1 30 0 0 0
5 100 10 10 0 0 0
1 100 1 1 0 0 0
0.10 50 1 1 0 0 0
0.05 50 1 1 0 0 0
0.01 50 1 1 0 0 0
0.05 50 1 1 0 0 0
thanks in advanced