My question's inside the "//"
switch (TransactionType){ case 'w': EndingBalance = InitialBalance - TransactionAmount; NumberOfWithdrawals++; System.out.println("Account Number: " + AccountNum); System.out.println("Beggining Balance: $" + InitialBalance); System.out.println("Ending Balance: " + EndingBalance); System.out.println("Total amount withdrawn: $" + TransactionAmount); System.out.println("Number of withdrawals: " + NumberOfWithdrawals); System.out.println("Withdraw again? (1/0): "); again = in.nextInt(); while (!found) if (again == 0) { System.out.println("Transaction done!"); found = true; } else if (again == 1) { double finaal; NumberOfWithdrawals++; System.out.println("Enter amount to be withdrawn: "); withdrawn = in.nextDouble(); System.out.println("Account number: " + AccountNum); finaal = EndingBalance - withdrawn; System.out.println("Beggining Balance: " + EndingBalance); //What i wanted to happen is to change this into a new variable //so it'll be the InitialBalance on the next loop(If the user would like to //withdraw again). System.out.println("Ending Balance: " + finaal); System.out.println("Number of Withdrawals: " + NumberOfWithdrawals); System.out.println("Withdraw again?: (1/0) "); again = in.nextInt(); found = false; }