Computers and Technology
Computers and Technology, 25.10.2021 14:00, jenn4887

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.

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 04:30, nickddj12
Kyle, a receptionist for a building supply company, recently won an award for saving his company money on their phone system. after being presented with kyle's research, the company changed the way in which it made long-distance phone calls and cut their expenses in this area by 75 percent. the new system the kyle's company most likely adopted was wired communications switching stations voip hdtv
Answers: 3
image
Computers and Technology, 22.06.2019 07:30, DivineMemes420
What type of computer network ensures high security ?
Answers: 1
image
Computers and Technology, 23.06.2019 00:00, brooklyn4932
What engine component is shown in the above figure?
Answers: 1
image
Computers and Technology, 23.06.2019 00:30, alex7078
Quick pl which one of the following is considered a peripheral? a software b mouse c usb connector d motherboard
Answers: 1
Do you know the correct answer?
A local bank in your town needs a program to calculate a customer’s checking account balance at th...

Questions in other subjects:

Konu
Chemistry, 29.09.2020 14:01
Konu
Mathematics, 29.09.2020 14:01