=================1====================================
Write a program that prints out a bank statement. The program input
is a sequence of transactions. Each transaction has the form
day amount description
For example,
15 -224 Check 2140
16 1200 ATM deposit
Your program should read in the descriptions and then print out a statement listing
all deposits, withdrawals, and the daily balance for each day. You should then com-
pute the interest earned by the account. Use both the minimum daily balance and
the average daily balance methods for computing interest, and print out both val-
ues. Use an interest rate of 0.5 percent per month, and assume the month has 30
days. You may assume that the input data are sorted by the date. You may also
assume that the first entry is of the form
1 1143.24 Initial balance
=================================2===========================
Attached files