answersLogoWhite

0

A palindrome is any value that reads the same backwards as it does forwards. The value may be a string of characters, a multi-digit numerical value, or an array. To determine if an object is a palindromic, point to the first and last elements of the object and work towards the middle element(s). If the values at each point are the same and the pointers meet or pass each other, the object is palindromic. If the values are not the same at any point, the object is non-palindromic. If the object is a numeric value, you must determine the individual digits for the comparison. If the object is a string, skip white-space values.

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

What is Code for palindrome using stack?

poooda


How can footstool be considered a Palindrome?

in morse code


What is the palindrome that indicates a cry for help?

SOS, the international Morse code distress signal, is a palindrome.


Palindrome for What might you explain at a surprise party?

Oho! Aha! Wow!


What is the code for level 6 in cartoon hero?

palindrome


What is the lexicographically smallest palindrome that can be formed using the letters in the keyword "keyword"?

The lexicographically smallest palindrome that can be formed using the letters in the keyword "keyword" is "deed."


What is a palindrome for detection system using radar waves?

"Radar detection system: madam rotor" is a palindrome for detection system using radar waves.


What is a sentence using the word palindrome?

The phrase "Madam I'm Adam" is a palindrome, because it reads the same forwards as it does backwards.


What is the palindrome for a detection system using radio waves?

radar


How do you explain a palindrome code?

#includeint main(){int num, r, sum=0, temp;print f("enter a number:");scan f("%d",&num);temp=num;while(n!=0){r=num%10;num=num/10;sum=sum*10+r;}if(temp==sum)print f("%d is a palindrome",temp);elseprint f("%d is not a palindrome",temp);return 0;}


How do you code a palindrome in VB?

Private Sub Command1_Click() string1 = Text1.Text string2 = StrReverse(string1) result = StrComp(string1, string2, vbTextCompare) If result = 0 Then MsgBox string2 & " is a palindrome..." Else MsgBox string1 & " is not a palindrome..." End If End Sub


Sql code for palindrome checking in sql?

FieldName = REVERSE(FieldName) FieldName = REVERSE(FieldName)