Answer to Question #211399 in C++ for ASAP

Question #211399

Topic: Files and Streams


Codes discussed will be posted here. Write your conclusion on the File stream discussion. 


Filename: "Ch5_AccountBalance.cpp"


Given problem and code: Please use the link below

-->>https://drive.google.com/file/d/1tDK28GtTpqbQ_sSKVkpdTQFJQz3gtlcB/view?usp=sharing


*Note: Need the proper codes

*Note need proper codes and conclusion on how its done and about the results. And please give the proper solution and explanation.

Note: Place your conclusion on why did it turn out like that and give your reasons why the results turned like that, one paragraph will do for the explanation and conclusion.


Note: the one who answered Question #210013 did not give the proper answer. Read the question and instructions before answering.

1
Expert's answer
2021-06-29T00:10:38-0400
  • The first line of data shows the account number followed by the account balance at the beginning of the month.
  • Thereafter each line has two entries: the transaction code and the transaction amount.
  • The transaction code 'W' or 'w' means withdrawal, 'D' or 'd' means deposit, and 'I or 'i' means interest paid by the bank.
  • The program updates the balance after each transaction.
  • During the month, if at any time the balance goes below $1000.00, a $25.00 service fee is charged.
  • The program prints the following information: account number, balance at the beginning of the month, balance at the end of the month, interest paid by the bank, the total amount of deposit, number of deposits, the total amount of withdrawal, number of withdrawals, and service charge if any.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS