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
a number whose only prime factors are 2,3,5, and 7 is call humble number,,write a program to find and display the nth element in this sequence.. sample input : 2,3,4,11,12,13, and 100.. sample output : the 2nd humble number is 2,the 3rd humble number is 3,the 4th humble number is ,the 11th humble number is 12, the 12th humble number is 14, the 13th humble number is 15, the 100th humble number is 450.
What is #pragma statements?
wat is the difference between a definition and declaration? float y;---it looks like a declaration..but it s a definition.how?someone explain
5) Write a program that takes a 3 digit number n and finds out whether the number 2^n + 1 is prime, or if it is not prime find out its factors.without using big int and exponential function
print ur name 20,000 times without using inbuilt library functions like printf,scanf,gets,puts,getchar or putchar
using for loop sum 2 number of any 4 digit number in c language
What are multidimensional arrays?
What is a void pointer in c?
main() { char ch='356'; Printf("%d",ch); } *OUTPUT*:- -18 *Why?*
Write a program to print a (*)pattern programming (A to Z) in capital in one programming ?
Describe explain how arrays can be passed to a user defined function
program to find error in linklist.(i.e find whether any node point wrongly to previous nodes instead of next node)