Wednesday, August 10, 2011

JAVA HELP ? Simple program?

intial value of sum,d, rev is zero and initial value of n is 101 and num is 101 now while loop execute till the value of num becomes zero becuse at num=0.,condition will become false.after ending of loop if statment checks wheather rev and n both are equal. if so it displays relevent statement else not palindrome

No comments:

Post a Comment