View Code of Problem 52

#include<stdio.h>
#include<math.h>
int main()
{
	
	char str[100],str2[80];
	int i,j;
	gets(str);
	for(i=0;str[i]!='\0';i++);
	for(i=i-1;i>=0;i--)
	{
		printf("%c",str[i]);
	}
} 

Double click to view unformatted code.


Back to problem 52