Alicemacot @ 2024-10-18 10:55:37
#include <stdio.h>
int main()
{
char a[5];
int i;
for(i=0;i<5;i++){
scanf("%c",&a[i]);
}
for(;i>=0;i--){
printf("%c",a[i]);
}
return 0;
}
by lostxxx @ 2024-10-18 11:02:43
@Alicemacot 他不一定只有 5 位
by Alicemacot @ 2024-10-18 11:14:05
@lostxxx 原来如此,谢谢