Question: Could you please help me with this project It should be done with c++ or eclipse either one is fine This is the output for
Project 1 1. This program tests the concepts of: o File Streams o Classes 2. Problem: - You have been hired by a bank to create a program that will process transaction logs " The banks transactions logs are in the format: * Header row is first line of the file, line starts with a # character #CustomerNumber Customer Name .Each row after that is a "transaction" . Char Char Double o First column is S= Savings C = Checking B = Both savings an checking o Second column is action D = Deposit W= Withdrawal I = Interest rate change (APR changed, no change to balances) P = Interest posted to account X Transfer money from the FIRST COLUMN account to the other For Example, if the log line has: C X 50.00 This transaction transfers $50 from Checking into Savings o Third colunn is the amount of money or interest rate that the transaction acts on. If the action is P, this number will be , since it is not used .If insufficient funds to complete a withdraw or transfer, $10 is subtracted from the account instead. This means that accounts can go negative! 3. Coding requirements: Classes are required . A class for Account .this object will store as private data fields o balance o annual percentage rate interest) .Minimum Actions o Deposit e Withdraw o Transfer o Post Interest o Set the annual percentage rate o Get the balance . A class for BankCustomer this object will store as private data fields o Savings account (using Account) o Checking account (using Account) o Customer Number o Customer Name .Minimum Actions: o Get customer name o Get customer number o Get Savings balance o Get Checking balance o processTransationLog - Filename of log should be passed to this function . Function should return the number of transactions processed
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
