#include<stdio.h>
#include<string.h>
int  main()
{
	int i;
	char s[100];
	scanf("%s",&s);
	int count = strlen(s);
	for(int i = count -1;i >= 0; i --)
		printf("%c",s[i]);
	return 0;
 } 

代码运行截图

注:侵权可删 

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注