I am stuck on a program in which I am to write a program that prints out a bank
ID: 3530219 • Letter: I
Question
I am stuck on a program in which I am to write a program that prints out a bank statement .The program input is a sequence of transactions with each transaction having the following: day, amount, description. The program should read in the descriptions and then print out a statement listing all deposits, withdrawals and the daily balance for each day. Then compute the interest earned by the account. The minimum and average daily balances methods should be used for computing interest and print out both values. An interest rate of .5% per month with the assumption that each month has 30 days with the data sorted by date. The first entry is the form of: 1 1143.24 initial balance.Explanation / Answer
it is a type of java programming language: it can be solved as: # include # include # include class bank { char name[20]; int acno; char actype[4]; float balance; public: void init(); void deposit(); void withdraw(); void disp_det(); }; void bank :: init() { outRelated Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.