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 12:30
An atom's diameter is about 0.1 nanometer (1×10-9m), and a human hair is about 1×10-3m. how many times greater is a human hair than an atom's diameter? sorry pushed wronf button but this is math
Answers: 3
question
Computers and Technology, 23.06.2019 00:00
Suppose you have 9 coins and one of them is heavier than others. other 8 coins weight equally. you are also given a balance. develop and algorithm to determine the heavy coin using only two measurements with the of the balance. clearly write your algorithm in the form of a pseudocode using the similar notation that we have used in the class to represent sorting algorithms
Answers: 1
question
Computers and Technology, 23.06.2019 04:20
4. a1. vince owns a television repair shop that is insured undera commercial package policy. the policy includes thebuilding and personal property coverage form and thecauses-of-loss broad form. the declarations page indicatesthat coverage applies to both the building and the namedinsured's business property. explain whether or not thefollowing losses would be covered under his policy.a. a fire occurs on the premises, and the building isbadly damaged.b. a burglar steals some money and securities from anunlocked safe.c. a business computer is damaged by vandals whobreak into the shop after business hours.d. a tornado touches down near the store. several tel-evision sets of customers in the shop for repair aredamaged in the storm.til
Answers: 2
question
Computers and Technology, 23.06.2019 23:00
Computer programming is one type of what career
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
Questions on the website: 13722362