Question: Write a C program that will update a bank balance. A sample run is below. The user's responses are in boldface . Bank Account Program
Write a C program that will update a bank balance. A sample run is below. The user's responses are in boldface.
Bank Account Program
---------------------
Enter the old balance: 1234.50
Enter the transaction now.
Enter F for the transaction type when you are finished.
Transaction Type(D =Deposit, W= Withdrawl, F= Finished): D
Amount: 568.34
Transaction Type(D =Deposit, W= Withdrawl, F= Finished): W
Amount: 25.68
Transaction Type(D =Deposit, W= Withdrawl, F= Finished): W
Amount: 167.40
Transaction Type(D =Deposit, W= Withdrawl, F= Finished): F
Your ending balance is : $1609.76
Program Ending
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
