View Code of Problem 52

#include<stdio.h>
#include<string.h>
void main( ) {
	char str[100];
	int i;
	gets(str);
	for(i=strlen(str)-1;str[i]!='\0';i--){
		printf("%c",str[i]);
	}
	printf("\n");
}

Double click to view unformatted code.


Back to problem 52