What would you like to do?

Write a C program to check whether the string is palindrome or not?

already exists.

Would you like to merge this question into it?

already exists as an alternate of this question.

Would you like to make it the primary and merge this question into it?

exists and is an alternate of .

cls
input "enter a string=";s$
l=len(s$)
for i = l to 1 step-1
c$=mid$(s$,i,l)
next i
r$=c$+r$
if r$=c$ then
print "no. is palindrome"
else
print "no. is not palindrome"
endif
end
Thanks for the feedback!

How do you write a program in C to check whether a number is a palindrome or not?

The simplest method is to reverse the digits of the original number and check to see if the reversed number is equal to the original. This is not an efficient way of doing it

Write a c program to check whether a string is palindrome or not using stack.?

include #include #define N 100 #define PALINDROME 0 #define NONPALINDROME 1 /*Program that tells you whether what you enter is a palindrome or not*/ char pal[N]; /

Write an algorithm to check whether a given string is palindrome or not?

include #include #include void input(char a[ ]) { int i; printf("\\n enter string\\n"); scanf("%s",a); } void output(char a[ ]) { printf("\\n string is %s",a);

Write a C program to check a string is a palindrome or not?

include   #include   void main()   {   char string,string1;   printf("enter the string:\\n");   scanf("%s",&string);   strcpy(string1,string); 

Write a c plus plus program to check whether entered string is palindrome or not?

There are several ways to determine if a string is a palindrome or  not. Typically, you must first ignore all spacing, capitalisation  and punctutation within the string, wh

C program for checking whether the string is palindrome or not?

// Palindrome.C : A palindrome is a string that is spelled the same way forward and backward. // This code verifies the string entered IGNORING CAPITALIZATIONS, SPACES and P

Write a javascript program to check whether the string is palindrome or not?

import java.io.*; class pal { protected static void main()throws IOException { BufferedReader in=new BufferedReader(new InputStreamReader(System.in)); System.out.p

How do you write a program in C use function to check whether a number is a palindrome or not?

A number is a palindrome if it is the same from the front and the back. Eg: 121, 12321, etc are palindromes. You can use the following method to check if a number is a palindr

How do you write an interactive C program to check whether the given string is a palindrome or not using pointers?

include   #include   #include    /* returns true of the given string represents a palindrome,   otherwise returns false */   bool is_palindrome (const c

Write a pseudo logic to check whether a string is palindrome or not?

Prepare the string for processing: Remove all punctuation from the  string (e.g., commas, hyphens, whitespace, etc).   Convert to the same case (e.g., lower-case).