View Code of Problem 52

#include<stdio.h>
#include<math.h>
#include<string.h>

int main(void) {
	int m,n,s;
	int i,j;
	char str[1000];
	gets(str);
	for(i=strlen(str)-1; i>=0; i--) {
		printf("%c",str[i]);
	}
}

Double click to view unformatted code.


Back to problem 52