View Code of Problem 52

#include<iostream>
#include<string.h>
using namespace std;
int main(){
	char a[1000];
	gets(a);
	for(int i=strlen(a)-1;i>=0;i--){
		cout<<a[i];
	}
	
} 

Double click to view unformatted code.


Back to problem 52