解题思路:
注意事项:
参考代码:
#include <stdio.h>
#include <iostream>
#include <iomanip>
#include <cmath>
#include <cstring>
using namespace std;
int wmw(char a[])
{
int i,len;
len=strlen(a);
for(i=len-1;i>=0;i--)
cout<<a[i];
}
int main()
{
char a[100];
gets(a);
wmw(a);
cout<<endl;
}
0.0分
0 人评分
震宇大神的杀毒软件 (C++代码)浏览:1117 |
数组输出 (C语言代码)--此题的题目描述有问题浏览:1817 |
字符串比较 (C语言代码)答案错误????浏览:597 |
简单的a+b (C语言代码)浏览:599 |
C语言程序设计教程(第三版)课后习题6.5 (C语言代码)浏览:595 |
C语言程序设计教程(第三版)课后习题1.6 (C语言代码)浏览:476 |
C语言程序设计教程(第三版)课后习题5.7 (C语言代码)浏览:517 |
sizeof的大作用 (C语言代码)浏览:1028 |
C二级辅导-分段函数 (C语言代码)浏览:601 |
The 3n + 1 problem (C语言代码)浏览:505 |