View Single Post
  #1 (permalink)  
Old 08-01-2007, 07:10 PM
maram maram is offline
Member
 
Join Date: Aug 2007
Posts: 1
maram is on a distinguished road
how to make abcxyz to zyxcba
Quote:
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..
Reply With Quote
Sponsored Links