/*write a c program to read a string and check whether it is a palindrome or not. Output the given string also with suitable messages*/ #include #include int main() { char s[50]; int i,n,flag; printf("\n Enter a string:\n"); scanf("%s",s); n=0; while(s[n]!='\0') n++; flag=1; for(i=0;i