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

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 23:00
Fast sportcars the top speeds of sportscars, given in miles per hour, are: 155 mph bmw m5 217 mph lamborghini aventador spyder 205 mph ferrari 488 205 mph nissan gtr 197 mph chevrolet corvette stingray zr1 258 mph bugatti veyron supersport 195 mph dodge viper 270 mph hennessey venom 155 mph bmw m3 195 mph mercedes sl given: topspeeds=[155; 217; 205; 205; 197; 258; 195; 270; 155; 195]; carnames=string(["bmw m5" "lamborghini aventador spyder" "ferrari 488" "nissan gtr" "chevrolet corvette stingray zr1" "bugatti veyron supersport" "dodge viper" "hennessey venom" "bmw m3" "mercedes sl"]); the variable is a rectangular array. write a function called selectcars to identify cars with the top speed within a given range, and display the identified names. the selected cars speed will be in a range given by lowerbound < speed < upperbound. inputs to the function selectcars are: a column array os all car top speeds named topspeeds, the corresponding chara
Answers: 2
question
Computers and Technology, 22.06.2019 08:10
Ihave a music player on my phone. i can buy songs, add them to playlists and play them. obviously it would be redundant to store each song in each playlist; each playlist is just a list of pointers to the songs. for this lab you will simulate this behavior. your program will need to have options to: add songs to the system library (you will store the text of the first line of the song, rather than the audio) add playlists add songs to a playlist list playlists play a playlist list all of the songs in the library with a count of how many times each song has been played remove a song from a playlist remove a playlist remove a song from the library (and thus from all playlists that contain it) note that we will not be checking many error cases. in real programming this would be bad, you should usually try to recognize and respond to as many types of errors as you can. in the context of class we are trying to acquaint you with as many concepts as possible, so for the sake of educational efficiency we will not be checking most errors in this lab, you may assume that your user provides correct input. you may add all appropriate error testing if you wish, but we will not be testing for it.
Answers: 2
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, 23.06.2019 17:00
The more powerful, 60 volt cables and the main power shut off on an hev are both colored orange
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
question
Mathematics, 19.05.2020 20:13
question
Mathematics, 19.05.2020 20:13
question
History, 19.05.2020 20:13
Questions on the website: 13722361