palyndrome

Submitted by: 
This code will show you if the word is Palyndrome or not. import java.util.Scanner ; public class Palyndrome { public static void main ( String [ ] args ) { Scanner read = new Scanner ( System . in ) ; int ctr = 0 ; System . out . print ( "Enter any string: " ) ; String str = read. next ( ) ; if ( str. length ( ) + 1 > 3 ) { for ( int x = 0 ,y = str. length ( ) - 1 ; x < str. length ( ) ; x...