subject

A local bank in your town needs a program to calculate a customer’s checking account balance at the end of each month. If the number of transactions is more
than 5, the bank charges a fee of $0.35.
• If the balance falls below 1000.00, there is a service fee of $25.00
• Data are stored in a file (transactions. txt) in the following form:
467343 3750.40 // Account Number | Initial Balance
W 250.00 // Transaction Code W: withdrawal | Amount
D 1200 // Transaction Code D: Deposit | Amount
W 1275.00 // Transaction Code: withdrawal | Amount
I 120.74 // I: Interest earned |Amount
D 1550 // D: Deposit | Amount
W 155.00 // W: withdrawal | Amount
W 240.50 // Transaction Code W: withdrawal | Amount
D 150.75 // Transaction Code D: Deposit | Amount
W 15.00 // Transaction Code: withdrawal | Amount
D 350.75 // Transaction Code D: Deposit | Amount
W 150.00 // Transaction Code: withdrawal | Amount
I 35.74 // I: Interest earned |Amount
W 1500.50 // Transaction Code W: withdrawal | Amount
Deliverable:
• Write a C++ program that reads the Data from the stored in a file
• Program prints the following information:
• Account number
• Balance at the beginning of the month
• Balance at the end of the month
• Total Interest paid by the bank
• Total amount of deposit
• Number of deposits
• Total amount of withdrawal
• Number of withdrawals
• Service charges (if below $1,000, $0.35 per transactions after 8
transactions) if any
• Please ensure that you format the output accordingly, currency, etc.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 21:00
Kirk found a local community college with a two-year program and he is comparing the cost with that of an out-of-state two-year school. what is the expected total cost for one year at the local community college if kirk lives at home? what is the expected total cost for one year at the out-of-state school if kirk lives on campus?
Answers: 2
question
Computers and Technology, 23.06.2019 12:20
When guido van rossum created python, he wanted to make a language that was more than other programming languages. a. code-based b. human-readable c. complex d. functional
Answers: 1
question
Computers and Technology, 23.06.2019 15:00
Based on the current economic situation do you expect the employment demand for graduating engineers to increase or decrease? explain the basis for your answer. with a significant economic recovery, what do you think will happen to future enrollments in graduating engineering programs?
Answers: 1
question
Computers and Technology, 24.06.2019 16:30
What is the item which could be matched with a statement below? software installed on a computer that produces pop-up ads using your browser an example of social engineering malware loads itself before the os boot is complete type of spyware that tracks your keystrokes, including passwords windows key + l the practice of tricking people into giving out private information or allowing unsafe programs into the network or computer when someone who is unauthorized follows the employee through a secured entrance to a room or building a type of malware that tricks you into opening it by substituting itself for a legitimate program a computer that has been hacked, and the hacker is using the computer to run repetitive software in the background without the user's knowledge an infestation designed to copy itself repeatedly to memory, on drive space, or on a network
Answers: 1
You know the right answer?
A local bank in your town needs a program to calculate a customer’s checking account balance at th...
Questions
question
Mathematics, 30.11.2020 21:30
question
Mathematics, 30.11.2020 21:30
question
Mathematics, 30.11.2020 21:30
question
English, 30.11.2020 21:30
Questions on the website: 13722367