Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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.
- Final Output Format
- Name: Joe Bloggs
- Account Number: 12345678
- Statement Balance: $123.45
- Outstanding Deposits: $150.00
- Outstanding Withdrawals: $ 79.99
- New Balance: $193.46
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement