Problem: Managing Customer Records in a Bank
A bank in your town updates its customers’ account 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 $10.00 for savings accounts and $25.00 for checking accounts (see table 2 for more details). If the balance at the end of the month is equal to or above the minimum balance, the account receives interest as follows:
• Savings accounts receive 4% interest on current balance.
• Checking accounts with current balances of up to $5000 receive 3% interest; otherwise the interest is 5%.
In both these cases, for interest to be awarded; current balance must be greater than or equal to the minimum balance. The maximum current balance in any account allowable by the bank is $9999.99
All customer records are recorded in a text file which is described below.
Input File:
Each customer record is identified by a fourteen (14) digit number. The first four numbers indicate the customer’s account number, the fifth the account type, numbers 6 through 8 the minimum balance (a whole number) that account should maintain, numbers 9 through 14 represents the current balance (made up of a whole number portion (numbers 9-12) and the decimal portion (numbers 13 and 14).









Note: In all your program constructs you must write comments where necessary. Do not write comments for obvious code, but segments of code which seem complex. Also include your name, student id# and lab day/time, the C++ IDE, and its version# that you used to compile your program, as comments at the top of your program code.

Shanil P.
where is the link?09/06/20