subject

A local bank in your town needs a program to calculate a customer’s checkingaccount balance at the end of each month. If the number of transactions is morethan 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 BalanceW 250.00 // Transaction Code W: withdrawal | AmountD 1200 // Transaction Code D: Deposit | AmountW 1275.00 // Transaction Code: withdrawal | AmountI 120.74 // I: Interest earned |AmountD 1550 // D: Deposit | AmountW 155.00 // W: withdrawal | AmountW 240.50 // Transaction Code W: withdrawal | AmountD 150.75 // Transaction Code D: Deposit | AmountW 15.00 // Transaction Code: withdrawal | AmountD 350.75 // Transaction Code D: Deposit | AmountW 150.00 // Transaction Code: withdrawal | AmountI 35.74 // I: Interest earned |AmountW 1500.50 // Transaction Code W: withdrawal | AmountDeliverable:• 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 8transactions) if any• Please ensure that you format the output accordingly, currency, etc.

ansver
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 11:00, abelxoconda
Which are examples of note-taking tools? check all that recording devices sticky notes digital highlighters paper flags highlighting pens digital displays digital flags
Answers: 1
image
Computers and Technology, 22.06.2019 19:10, kaiya789
10. when you create a pivottable, you need to specify where to find the data for the pivottable. is it true
Answers: 2
image
Computers and Technology, 23.06.2019 00:00, puppylove899
Which is the correct sequence of steps to set up a document in landscape orientation? a. select page setup from the file menu. then click the margins tab and select landscape. b. select page setup from the edit menu. then click the margins tab and select landscape. c. select page setup from the insert menu. then click the margins tab and select landscape. d. select page setup from the format menu. then click the margins tab and select landscape
Answers: 1
image
Computers and Technology, 23.06.2019 03:00, Julianhooks
State 7 common key's for every keyboard
Answers: 1
You know the right answer?
A local bank in your town needs a program to calculate a customer’s checkingaccount balance at the e...

Questions in other subjects:

Konu
Mathematics, 17.06.2021 17:00
Konu
Biology, 17.06.2021 17:00