题解 1126: C语言训练-字符串正反连接

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

敲简单C语言代码!!!

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){    int i;    char a[200];    gets (a);……

正一遍倒着一遍呗

摘要:解题思路:无注意事项:无参考代码:#include<bits/stdc++.h>using namespace std;int main(){    string a;    cin>>a;    c……

1126-字符串正反连接

摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cstring>#include<algorithm> using namespace std;int main()……

题解 1126: C语言训练-字符串正反连接(C语言)

#C语言:字符串正反连接##题目所给字符串正序和反序连接,形成新串并输出。##主要步骤-gets函数输入字符串,存入数组a中-将a的元素反序存入数组b中-strcat函数连接a,b数组输出即可##完整参考代码```c#include#includeintmain(void){chara[100];ch

纯新手,来看看呀QAQ

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){    int i,j,k;    char a[100],b[100];    gets(a);    for……