Question
Submit the Algorithm and flowchart To demonstrate an understanding of inputs, outputs, and sequence of instructions used to implement the bank simulation. Try some transactions
Submit the Algorithm and flowchart
To demonstrate an understanding of inputs, outputs, and sequence of instructions used to implement the bank simulation.
Try some transactions to understand the logic, then write the algorithm OR flowchart.
The algorithm is the logical order of the steps of the program you will be implementing.
The algorithm does not include any C language specific elements like functions.
*******************************
Welcome to the Bank of COP 2220
It is a pleasure to manage your checking, savings, and credit accounts
-- You currently have $480.45 in your checking account -- You currently have $124.62 in your savings account -- You currently have $-2134.78 credit balance
------------------------ (1) to DEPOSIT to CHECKING (2) to WITHDRAW from CHECKING (3) to DEPOSIT to SAVINGS (4) to WITHDRAW from SAVINGS (5) to DEPOSIT to CREDIT (6) to TAKE an ADVANCE from CREDIT (7) for all ACCOUNT BALANCES
(-1) QUIT
Select an option: 1
The transaction you chose was: 1 Deposit to Checking -- You currently have $480.45 in your checking account
Enter the amount to deposit: 2 -- You currently have $482.45 in your checking account
------------------------ (1) to DEPOSIT to CHECKING (2) to WITHDRAW from CHECKING (3) to DEPOSIT to SAVINGS (4) to WITHDRAW from SAVINGS (5) to DEPOSIT to CREDIT (6) to TAKE an ADVANCE from CREDIT (7) for all ACCOUNT BALANCES
(-1) QUIT
Select an option: 2
The transaction you chose was: 2 Withraw from Checking -- You currently have $482.45 in your checking account
Enter the amount to be Withdrawn: 50 -- You currently have $432.45 in your checking account
------------------------ (1) to DEPOSIT to CHECKING (2) to WITHDRAW from CHECKING (3) to DEPOSIT to SAVINGS (4) to WITHDRAW from SAVINGS (5) to DEPOSIT to CREDIT (6) to TAKE an ADVANCE from CREDIT (7) for all ACCOUNT BALANCES
(-1) QUIT
Select an option: 340
The transaction you chose was: 340
Not recognized
------------------------ (1) to DEPOSIT to CHECKING (2) to WITHDRAW from CHECKING (3) to DEPOSIT to SAVINGS (4) to WITHDRAW from SAVINGS (5) to DEPOSIT to CREDIT (6) to TAKE an ADVANCE from CREDIT (7) for all ACCOUNT BALANCES
(-1) QUIT
Select an option: 445
The transaction you chose was: 445
Not recognized
------------------------ (1) to DEPOSIT to CHECKING (2) to WITHDRAW from CHECKING (3) to DEPOSIT to SAVINGS (4) to WITHDRAW from SAVINGS (5) to DEPOSIT to CREDIT (6) to TAKE an ADVANCE from CREDIT (7) for all ACCOUNT BALANCES
(-1) QUIT
Select an option: 5
The transaction you chose was: 5 Deposit to credit -- You currently have $-2134.78 credit balance
Enter the amount to deposit: 46 -- You currently have $-2088.78 credit balance
------------------------ (1) to DEPOSIT to CHECKING (2) to WITHDRAW from CHECKING (3) to DEPOSIT to SAVINGS (4) to WITHDRAW from SAVINGS (5) to DEPOSIT to CREDIT (6) to TAKE an ADVANCE from CREDIT (7) for all ACCOUNT BALANCES
(-1) QUIT
Select an option: 6
The transaction you chose was: 6 Take out more Credit -- You currently have $-2088.78 credit balance
Enter the amount to be Withdrawn: 587 -- You currently have $-2675.78 credit balance
------------------------ (1) to DEPOSIT to CHECKING (2) to WITHDRAW from CHECKING (3) to DEPOSIT to SAVINGS (4) to WITHDRAW from SAVINGS (5) to DEPOSIT to CREDIT (6) to TAKE an ADVANCE from CREDIT (7) for all ACCOUNT BALANCES
(-1) QUIT
Select an option: 7
The transaction you chose was: 7 Show account balances -- You currently have $432.45 in your checking account -- You currently have $124.62 in your savings account -- You currently have $-2675.78 credit balance
------------------------ (1) to DEPOSIT to CHECKING (2) to WITHDRAW from CHECKING (3) to DEPOSIT to SAVINGS (4) to WITHDRAW from SAVINGS (5) to DEPOSIT to CREDIT (6) to TAKE an ADVANCE from CREDIT (7) for all ACCOUNT BALANCES
(-1) QUIT
Select an option:
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