[编程入门]自定义函数之字符串反转-题解(C语言代码) 摘要:解题思路:利用指针,指向最后一个数,往回倒着打印。参考代码:#include<stdio.h>#include<string.h>int* swap(char *a,int n);int main()…… 题解列表 2020年07月27日 0 点赞 0 评论 214 浏览 评分:0.0
[编程入门]自定义函数之字符串反转-题解(C语言代码) 摘要: #include #include int main() { char input[80]; scanf("%s",input); …… 题解列表 2019年11月02日 0 点赞 0 评论 312 浏览 评分:0.0
简单解法,小白做的 自定义函数之字符串反转 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char str[201];//注意范围 int i; …… 题解列表 2023年06月14日 0 点赞 0 评论 135 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.5 (Java代码) 摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class Main { public static void main(String[] arg…… 题解列表 2019年03月08日 0 点赞 0 评论 409 浏览 评分:0.0
编写题解 1031: [编程入门]自定义函数之字符串反转 摘要:解题思路:利用字符串提供的reverse()方法实现逆置注意事项:注意输出的时候一定要加toString()参考代码:import java.nio.Buffer;import java.util.S…… 题解列表 2021年09月26日 0 点赞 0 评论 123 浏览 评分:0.0
[编程入门]自定义函数之字符串反转-题解(C语言代码)没复杂函数 摘要:解题思路:注意事项:参考代码:#include<stdlib.h> #include<stdio.h>int main(){ char a[50], c, d=0; //用数…… 题解列表 2020年08月15日 0 点赞 0 评论 144 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.5 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <cstdio>#include <algorithm>#include <cstring>using namespace std;int main()…… 题解列表 2017年07月27日 0 点赞 0 评论 873 浏览 评分:0.0
自定义函数之字符串反转 摘要: #include #include using namespace std; void fun(char a[], char b[]) { …… 题解列表 2022年10月11日 0 点赞 0 评论 133 浏览 评分:0.0
[编程入门]自定义函数之字符串反转 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h> int exchange(char a[],char b[]){ int i,l,j = 0…… 题解列表 2021年11月10日 0 点赞 0 评论 149 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.5 (C语言代码) 摘要:解题思路: 1、定义两个字符数组,一个用来接受主函体中输入的字符数组,一个用来接受主函体中输出的字符数组。 2、在子函数体中,将接受主函体中的输入字符数组,反序的放置在接受主函中输出的字符数组…… 题解列表 2017年06月10日 16 点赞 1 评论 2206 浏览 评分:0.0