program logic in c or c# language for  palindrome?
115468
Here's the pseudo code - code it in any language you want - \n1. Find length of word, say N.\n2. i = 0, flag = 0\n3. Repeat following step till i <= N/2\n4. If ith letter is not equal to (N-i)th letter, set flag to 1 and exit loop.\n5. If flag = 0, word is a palindrome.
526248
There are many answers to this:\n\n1) Take the string, make a reverse copy of it and compare the strings\n\n2) Pointer to the start index of the string and end index of the string and start comparing till you get strlen/2\n\n.... for more solutions and code you can search the web
674880
Generally the idea is:\n\nDo Until Decimal = 0\n    If (Decimal Mod 2) Then\n        Let Binary = "1" & Binary\n    Else\n        Let Binary = "0" & Binary \n    End If\n    Let Decimal = Decimal &#92; 2\nLoop\n\n(Decimal is a number, Binary is a string variable)
869459
void main()\n{\nint n,rev=0,ro,n1;\ncout<<"enter the number";\ncin>>n;\nn1=n;\nwhile(n>0)\n{\nro=n%10;\nrev=rev*10+ro\nn=n/10;\n}\nif ( rev== n1)\n cout<<"the number is palindrom";\nelse\ncout<<"the number is not palindrom";\n}
771028
It is called a palindrome:\n\n"A palindrome is a word, phrase, number or other sequence of units that has the property of reading the same in either direction (the adjustment of punctuation and spaces between words is generally permitted). The word "palindrome" was coined from Greek roots Greek πάλιν (palin) "back" and δρóμος (dromos) "way, direction" by English writer Ben Jonson in the 1600s. Composing literature in palindromes is an example of constrained writing."\n\nCheck the second site below for many examples. Also, third link shows longest palindromes around.
636018
Each one is a palindrome; sounds and spells identically in reverse order i.e. from right to left.
895373
http://www.palindromelist.com/
315617
void StrReverse4(char *str)\n{\n    if(*str)\n    {\n        StrReverse4(str+1);\n        putchar(*str);\n    }\n}\n\nTry this code it might work
1146247
The word palindrome is derived from the Greek palíndromos, meaning running back again (palín = AGAIN + drom–, drameîn = RUN). A palindrome is a word or phrase which reads the same in both directions.
451032
An inverted palindrome\n1961\n6009
968811
A palindrome is a word, phrase, number or other sequence of units that has the property of reading the same in either direction (the adjustment of punctuation and spaces between words is generally permitted). The word "palindrome" was coined from Greek roots Greek πάλιν (palin) "back" and δρóμος (dromos) "way, direction" by English writer Ben Jonson in the 1600s. Composing literature in palindromes is an example of constrained writing.Palindromes date back at least to 79 A.D., as the palindromic Latin word square "Sator Arepo Tenet Opera Rotas" was found as a graffito at Herculaneum, buried by ash in that year. This palindrome is remarkable for the fact that it also reproduces itself if one forms a word from the first letters, then the second letters and so forth. Hence it can be arranged into a word square that reads in four different ways: horizontally or vertically from top left to bottom right; and horizontally or vertically from bottom right to top left.\n\n  S A T O R\n  A R E P O\n  T E N E T\n  O P E R A\n  R O T A S
748426
I'm assuming you mean a word that is read the exact same forwards and backwards (such as madam and kayak) and not just a word that has a meaning forward as well as a meaning backwards (such as pots and ward).\n\nIn that case, a word that is read the same forwards and backwards is a palindrome.
588997
I use "C++ How to Program" by Deitel & Deitel.\nIt's really good
665944
I am giving you the pseudocode. You need to implement it yourself.\nAssume the notation [abc] means allowed permutations of string 'abc'\nHence  [abc] = a[bc] + [bc]a\nThe most trivial case is [a] = a\nThis logic lends itself to a recursive routine that should be implementable in each of the languages you mentioned.\nIncase you cant, tell me, I might look into it! :-)
962762
Here is how to reverse a number - it doesn't matter how many digits.\nYou'll have to figure out the rest of your program yourself - there isn't much left anyway.\n\nint reverse (int n)\n{\n   int r = 0;\n   for (;n>0;n/=10) r=r*10+n%10;\n   return r;\n}
843487
Palindrome it is. One of the most well known, a quote from Napolen:\n\nAble was I ere I saw Elba.
977594
The term you are looking for is "palindrome".