View Code of Problem 52

#include<bits/stdc++.h>
using namespace std;
int main(){
	char a[100];
	gets(a);
	int i;
	int len=strlen(a);
	for(i=len-1;i>=0;i--){
		printf("%c",a[i]);
	}
}

Double click to view unformatted code.


Back to problem 52