using only #include <stdio.h> and #include <stdlib.h> Write a program in C that will read an input from the user and print it back to the user if it is a palindrome. The string ends when it encounters a whitespace. The input string is at most 30 characters. Assume the string has no spaces and distinguish between and lowercase. So madam is a palindrome, but MadAm is not a palindrome. Use scanf and %s to read the string.
Sample Test:
Enter a string: madam
madam is a palindrome.
Enter a string: 09023
09023 is not a palindrome.
No Answer is Posted For this Question
Be the First to Post Answer
Was 2000 a leap year?
What is a double c?
Is there a way to compare two structure variables?
what is linkage error when it occurs in c program
how to write palindrome program?
what is the flow of execution in cprogram? ex:printf();,scanf();
Define Spanning-Tree Protocol (STP)
What are the storage classes in C?
What is scope rule of function in c?
Can you assign a different address to an array tag?
how to use showbits function?
DIFFERNCE BETWEEN THE C++ AND C LANGUAGE?