View Code of Problem 52

#include<stdio.h>
#include<math.h>
int main(){
	char a[100];
	int i=0;
	while(scanf("%c",&a[i])!='\n'){
		i++;
		if(i>100)
		break;
	}
	for(int j=i;j>=0;j--){
		printf("%c",a[j]);
	}
}

Double click to view unformatted code.


Back to problem 52