解题思路:
注意事项:
参考代码:
#include<stdio.h>
#include<string.h>
#include<stdlib.h>
int main(){
char a[60];
int l,i=0;
scanf("%s",&a);
while(a[i]!='\0'){
printf("%c",a[i++]);
}
i--;
while(i>=0){
printf("%c",a[i--]);
}
printf("\n");
return 0;
}
0.0分
0 人评分
C语言程序设计教程(第三版)课后习题1.5 (C语言代码)浏览:510 |
校门外的树 (C语言代码)浏览:692 |
【蟠桃记】 (C语言代码)浏览:1021 |
C语言程序设计教程(第三版)课后习题11.1 (C语言代码)浏览:609 |
a+b浏览:432 |
简单的a+b (C语言代码)浏览:943 |
矩形面积交 (C语言代码)浏览:1293 |
C语言程序设计教程(第三版)课后习题1.5 (C语言代码)浏览:542 |
C二级辅导-温度转换 (C语言代码)浏览:540 |
C语言程序设计教程(第三版)课后习题9.6 (C语言代码)浏览:417 |