View Code of Problem 114

#include<string.h>
#include<stdio.h>
int main(){

	char a[100];	
	while(gets(a)){	
		int l	;
		l=strlen(a);
		for(int i=l-1;i>=0;i--){
			printf("%c",a[i]);
		}
		
	
	}	
} 












Double click to view unformatted code.


Back to problem 114