解题思路:
注意事项:
参考代码:
#include <stdio.h>
#include <string.h>
int main()
{
char str[100];
gets(str);//输入一串字符
int le=strlen(str)-1;
while (le!=-1)
printf("%c",str[le--]);
return 0;
}
0.0分
0 人评分
C语言程序设计教程(第三版)课后习题7.4 (C语言代码)浏览:633 |
最小公倍数 (C语言代码)浏览:890 |
简单的a+b (C语言代码)浏览:560 |
输出正反三角形 (C语言代码)浏览:853 |
C语言程序设计教程(第三版)课后习题8.1 (C语言代码)浏览:562 |
C语言程序设计教程(第三版)课后习题6.5 (C++代码)浏览:481 |
2003年秋浙江省计算机等级考试二级C 编程题(2) (C语言代码)浏览:627 |
核桃的数量 (C语言代码)浏览:719 |
Hello, world! (C语言代码)浏览:760 |
简单的a+b (C语言代码)浏览:613 |