int num=Integer.parseInt(JOptionPane.showInputDialog("Enter a NUMBER: "));