I've ran the program several times and it appears to pass all the task conditions but it will not verify. I eventually tried to use the model solution, but even that won't pass. Please help me figure out what's wrong.
package com.codegym.task.task26.task2613;
import com.codegym.task.task26.task2613.command.CommandExecutor;
import com.codegym.task.task26.task2613.exception.InterruptedOperationException;
import java.util.Locale;
public class CashMachine {
public static void main(String[] args) {
Locale.setDefault(Locale.ENGLISH);
try {
Operation operation = Operation.LOGIN;
CommandExecutor.execute(operation);
do {
operation = ConsoleHelper.requestOperation();
CommandExecutor.execute(operation);
} while (operation != Operation.EXIT);
} catch (InterruptedOperationException ignored) {
ConsoleHelper.writeMessage("Session terminated. Thank you for using the CodeGym ATM. Good luck.");
}
}
}