#include<stdio.h>
int main(void)
{
char letter[255];
int i=0,j;
printf("Please enter what you want.\n");
while(scanf("%c",letter[i])!='\n')
i++;
for(j=i;j>=0;j--)
printf("%c",letter[j]);
}
#include<stdio.h>
int main(void)
{
char letter[255];
int i=0,j;
printf("Please enter what you want.\n");
scanf("%c",&letter[i]);
while(letter[i]!='\n'){
i++;
scanf("%c",&letter[i]);
}
i--;
for(j=i;j>=0;j--)
printf("%c",letter[j]);
return 0;
}