Professional Documents
Culture Documents
***********
Plaindrome Number:
Palindrome number in java: A palindrome number is a number that is same after
reverse.
For example 545, 151, 34543, 343, 171, 48984 are the palindrome numbers.
It can also be a string like LOL, MADAM etc.
***********************************************************************************
**********/
public class CheckPlaindrome{
while(n>0) {
//main method
public static void main(String [] args){
//dsiplaying all palindrome nunbers between 100 & 1000
for( int n=100;n<1000< n++){
if(isPalendrome(n))
System.out.print(n"\t");
}
}