Interactive Banking Application Due Date 10/19/2025 11:59 PM

Instructions

Welcome to the Interactive Banking Application! This program allows you to perform basic banking operations such as depositing money, withdrawing money, and checking your balance. Follow the steps below to use the application:

Step 1: Deposit Money

  1. When you run the program, it will prompt you to enter the amount you want to deposit.
  2. Enter the deposit amount and press Enter.
  3. You will be asked if you want to add a note for the deposit. If you choose yes, enter a note (e.g., "Salary").
  4. The program will display the updated balance after the deposit.

Step 2: Withdraw Money

  1. After depositing money, the program will prompt you to enter the amount you want to withdraw.
  2. Enter the withdrawal amount and press Enter.
  3. You will be asked if you want to add a note for the withdrawal. If you choose yes, enter a note (e.g., "Groceries").
  4. The program will display the updated balance after the withdrawal.

Step 3: Check Balance

  1. At any point, you can check your current balance by running the program.
  2. The program will display the final balance after all transactions.

Expected Output

Enter the amount to deposit: $500
Depositing $500.0... New Balance: $500.0
Do you want to add a note for this deposit? (yes/no): yes
Enter the note: Salary
Deposited: $500.0 | Note: Salary
Enter the amount to withdraw: $200
Withdrawing $200.0... New Balance: $300.0
Do you want to add a note for this withdrawal? (yes/no): yes
Enter the note: Groceries
Withdrawn: $200.0 | Note: Groceries
Final Balance: $300.0
                    

Notes

  • If you try to withdraw more money than your current balance, the program will display Insufficient funds!.
  • You can add notes to your transactions to keep track of the purpose of each deposit or withdrawal.
Tip: Make sure to enter valid numbers for deposit and withdrawal amounts. Handle any exceptions that may occur during the program execution.

How to submit the lab?

  • Include your full name and email at the top of the file using a comment tag.
  • Compile and run your program, entering all required inputs.
  • Take a screenshot of your results.
  • Zip your project folder.
  • Upload both the screenshot and the zipped project to Blackboard.