import java.awt.*; import javax.swing.*; import java.util.*; import java.lang.String.*; public class Problem230 { public static void main (String args[]) { JOptionPane prompt = new JOptionPane(); String input=""; boolean valid = false; while (!valid) { input = prompt.showInputDialog(null,"Whats the number to dissect, Chief?"); if (input.length()==5) valid = true; else prompt.showMessageDialog(null,"Error: input length > 5."); } String[] output= new String[input.length()]; prompt.showMessageDialog(null,"your number is "+input+", is it not?"); for (int i=0; i