Advertisement
Guest User

Untitled

a guest
Jun 22nd, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. Write a program that will after having the user input his/her name, 8-digit bank account number, bank statement balance, outstanding deposits, and outstanding withdrawals, calculate the new balance for a checking account using the format below for the final output. You should use setw, setprecision, and any other formatting options necessary. Character arrays should be used to store all strings.
  2.  
  3. Final Output Format
  4.  
  5. Name: Joe Bloggs
  6. Account Number: 12345678
  7.  
  8. Statement Balance: $123.45
  9. Outstanding Deposits: $150.00
  10. Outstanding Withdrawals: $ 79.99
  11.  
  12. New Balance: $193.46
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement