Question: C Programming . Create a program that does the following: a. As before, include comments at the beginning of your program with your name &

C Programming .

Create a program that does the following: a. As before, include comments at the beginning of your program with your name & assignment b. Ask the user to enter a starting balance for their bank account (you should allow decimals) c. Ask the user to enter an arbitrary number of transactions. Negative numbers will be treated as withdrawals, positive numbers will be treated as deposits. Entering a value of 0 will mean the user is done with their entries. d. When the user is done with their entries, calculate and print the following: Total of all deposits (print only 2 decimal places) Total of all withdrawals (print only 2 decimal places) Final balance of the bank account (print only 2 decimal places) e. If the final balance is negative, print a warning message for the user

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!