import javax.swing.JOptionPane;
import java.util.Scanner;
public class Change{
public static void main (String[]args){
String Input = JOptionPane.showInputDialog("Enter Word: ");
for(int i=0; i<Input.length()-1; i++)
JOptionPane.showMessageDialog(null,("The Results Is : " + i ));
}
}
I can get the result but I've to click manually to get it..
