Hello, the reason this is happening is because the showInputDialog method returns a string but you are trying to store the return into an int.


DAY = JOptionPane.showInputDialog(null, PROMPT_DAY)...