@@ -0,0 +1,566 @@
+// https://community.topcoder.com/stat?c=problem_statement&pm=6036%0A%0Apublic class AccountBalance %7B%0A%09public static int processTransactions(int startingBalance, String%5B%5D transactions) %7B%0A%09%09int balance = startingBalance;%0A%09%09%0A%09%09for (String transaction : transactions) %7B%0A%09%09%09String%5B%5D line = transaction.split(%22 %22);%0A%09%09%09int amountOfMoney = Integer.parseInt(line%5B1%5D);%0A%09%09%09char operationCode = line%5B0%5D.charAt(0);%0A%09%09%09if (operationCode == 'C') %7B%0A%09%09%09%09balance += amountOfMoney;%0A%09%09%09%7D%0A%09%09%09else if (operationCode == 'D') %7B%0A%09%09%09%09balance -= amountOfMoney;%0A%09%09%09%7D%0A%09%09%7D%0A%09%09%0A%09%09return balance;%0A%09%7D%0A%7D%0A

Create AccountBalance.java