To reverse a word
#include
int main ( void )
{
int t;
cout<< "Please Enter Your Christian Name here : ";
char name[15];
cin>> name;
for (t =strlen(name)-1; t>=0 ; t--)
cout <<<">
return 0;
}
Result :
Post a Comment
No comments:
Post a Comment