Question: In Visual Studio Final output look like this: Checking Account Lab Construct a C program, check.c, that reads the details of a mon account and
Checking Account Lab Construct a C program, check.c, that reads the details of a mon account and outputs a bank statement summarizing these transactions file, account.txt, contains a list of transactions for the checking one month. Each line of the input file consists of a one-character code along with a double containing the amount of the transaction. Valid thly checsi An input account for transaction codes are as follows: I Initial balance brought forth from previous month D Deposit C Check As each transaction is entered, you should output on a single line the type of transaction, the amount of the transaction (separate columns for deposits and checks), and the balance after the transaction has been processed: Transaction Deposit Check Balance Initial Balance Deposit Deposit Check Check 478.83 606.28 1226.12 281.00 276.24 127.45 619.84 945.12 4.76 The bank's service charges (which should be deducted from the balance at the end of the month) are as follows: $3.00 per month to maintain the account. $0.06 for each check cashed. $0.03 for each deposit made 55.00 overdraft whenever a check cashed brings the balance below $0.00
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
