01-02-2013, 04:54 PM
About The Program
1About The Program.docx (Size: 15.38 KB / Downloads: 22)
ABSTRACT
The program does 4 functions, when you deposit money in the account is should show you the total amount in the account each time you add money to the account and when you withdraw money it should take away the amount withdraw from the balance that is in the account.Function to display account details given by user,to modify record of file, to delete record of file, to display all account details, to desposit/withdraw, amount for given account.
A bank updates the customers' accounts at the end of each month. The bank offers two types of accounts: savings and checking. Every customer must maintain a minimum balance. If a customer's balance falls below the minimum balance, there is a service charge of Rs.10.00 for savings accounts and Rs.25.00 for checking accounts. If the balance at the end of the month is at least the minimum balance, the account receives interest as follows:
Savings accounts receive 4% interest.Checking accounts with balances up to Rs.1,000 more than the minimum balance receive 3% interest; otherwise, the interest is 5%. The customer's account number (int type), account type (char; s for savings, c for checking), and current balance are input from the keyboard. Output is the account number, account type, current balance (including any interest earned), and the amount of interest earned, if any. The interest will be calculated in a separate function. The balance and interest rate are passed to the function. The function returns the interest earned. The minimum account balance, for both checking and savings accounts, is Rs.1,000. This must be declared as a constant.