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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started