akosiraff

Download Banking Transactions C

Oct 30th, 2016
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.22 KB | None | 0 0
  1.  
  2. Download: http://solutionzip.com/downloads/banking-transactions-c/
  3. Write a C program that allows the user to make some simple banking
  4. transactions.
  5. The program should first prompt the user to enter the current balance of his/her
  6. bank account (in dollars and cents, not less than zero). The program should then
  7. prompt the user to enter the number of withdrawals to make, and then the
  8. number of deposits to make.
  9. For this assignment, let’s set a maximum of 5 deposits and 5 withdrawals,
  10. you’ll see why as you read on.
  11. Using a loop, the program should then prompt the user to enter the amount of
  12. the first deposit (a positive amount to add to the bank account balance), the
  13. amount of the second deposit, the third, etc., until the number of deposits have
  14. been processed.
  15. Using a second loop, the program should then prompt the user to enter the
  16. amount of the first withdrawal (a positive amount to subtract from the bank
  17. account balance, if possible), the amount of the second withdrawal, the third,
  18. etc. until the number of withdrawals have been processed.
  19. Once all deposits and withdrawals have been made, the program should output
  20. the ending balance.
  21. Download: http://solutionzip.com/downloads/banking-transactions-c/
Add Comment
Please, Sign In to add comment