just asking...
how can we detect (create a programe) if it is a palindrome or not...
suggestion or opinion, example maybe...
PALINDROME anyone...
Started by mdeenny, Oct 29 2009 12:09 AM
3 replies to this topic
#1
Posted 29 October 2009 - 12:09 AM
|
|
|
#2
Posted 29 October 2009 - 02:05 AM
you can get (or set) the string lenght, then with a loop you can reverse the string and compare the two strings, if the strings are the same the string's palindrome...

#3
Posted 29 October 2009 - 06:13 AM
Edit: Couldn't get it to format properly... palindrome [TkWiki]
#4
Posted 29 October 2009 - 08:09 AM
thanks guys...


Sign In
Create Account

Back to top









