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 10:20
Shown below is the start of a coding region within the fist exon of a gene. 5'--3' 3'--5' how many cas9 pam sequences are present?
Answers: 1
question
Computers and Technology, 22.06.2019 14:10
Dean wants a quick way to look up staff members by their staff id. in cell q3, nest the existing vlookup function in an iferror function. if the vlookup function returns an error result, the text “invalid staff id” should be displayed by the formula. (hint: you can test that this formula is working by changing the value in cell q2 to 0, but remember to set the value of cell q2 back to 1036 when the testing is complete.)
Answers: 3
question
Computers and Technology, 23.06.2019 03:50
Iam a bacterium. i cause stomach cramps and diarrhea. i am caused by eating rotten foodssuch as chicken, fish, or eggs. sometimes turtles carry my bacteria.what am i?
Answers: 2
question
Computers and Technology, 24.06.2019 03:30
Auniform resource locator (url) is a formatted string of text that web browsers, email applications, and other software programs use to identify a particular resource on the internet. true false
Answers: 2
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
Advanced Placement (AP), 26.01.2021 05:30
question
Computers and Technology, 26.01.2021 05:30
Questions on the website: 13722367