A simple program to check whether String is palindrome or not C++
PROGRAM:
#include<iostream> using namespace std; int main( ) { int L,C; char str[80]; cout<<"nEnter a string: "; gets(str); for(L=0;str[L]!='
Professional way of Programming
A simple program to check whether String is palindrome or not C++
#include<iostream> using namespace std; int main( ) { int L,C; char str[80]; cout<<"nEnter a string: "; gets(str); for(L=0;str[L]!='