Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #107.79K
~2K People Reached
Favorite Forums
Favorite Tags
c++ x 1

1 Posted Topic

Member Avatar for Lensva

[CODE]#include<iostream> #include<string> using namespace std; void main() { string str; cout<<"Enter the string: "; cin>>str; string::reverse_iterator ri=str.rbegin(); //reverse iterator used to read the string from back to front if(equal(str.begin(),str.end(),ri)) //equal compares 2 strings in the provided order cout<<str<<" is a Pallindrome!"<<endl; else cout<<str<<" is not a Pallindrome!"<<endl; }[/CODE]

Member Avatar for rohitvipin
0
2K

The End.