[编程入门]自定义函数之字符串反转(java) 摘要: import java.util.Scanner; public class 字符串反转 { public static void main(String[] args) { …… 题解列表 2021年03月23日 0 点赞 0 评论 237 浏览 评分:0.0
容易理解的C语言代码 摘要:解题思路:输出的时候倒过来输出就可以了注意事项:参考代码:#include <stdio.h> #include <string.h> int main() { char a[100]…… 题解列表 2021年04月06日 0 点赞 0 评论 166 浏览 评分:0.0
简单方式实现 逆序输出 摘要:解题思路:逆序输出注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#include <string.h>int main(){ char a[100…… 题解列表 2021年04月08日 0 点赞 0 评论 336 浏览 评分:0.0
题解 1031: [编程入门]自定义函数之字符串反转 摘要: #include #include #include void turn(char str[]) { int a,i; …… 题解列表 2021年07月03日 0 点赞 0 评论 235 浏览 评分:0.0
写一函数,使输入的一个字符串按反序存放,在主函数中输入并输出反序后的字符串(不包含空格) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char a, b[100]; int i = 0, j; while ((a = getchar()) != …… 题解列表 2021年08月08日 0 点赞 0 评论 574 浏览 评分:0.0
字符串反转,只需定义一个数组 摘要:解题思路: 逆序,循环输出注意事项:参考代码: #include<iostream> #include<cstring> using namespace std; int main(){ …… 题解列表 2021年08月19日 0 点赞 0 评论 146 浏览 评分:0.0
[编程入门]自定义函数之字符串反转-题解(C语言) 摘要:```c #include #include int func(char *a,int n) { char temp; for(int i=0;i…… 题解列表 2021年08月26日 0 点赞 0 评论 176 浏览 评分:0.0
[编程入门]自定义函数之字符串反转 摘要:解题思路:注意事项:注意字符串数组的初始化与结束符参考代码:#include<stdio.h>#include<string.h>int change(char a[],char b[]);int m…… 题解列表 2021年09月17日 0 点赞 0 评论 260 浏览 评分:0.0
编写题解 1031: [编程入门]自定义函数之字符串反转 摘要:解题思路:利用字符串提供的reverse()方法实现逆置注意事项:注意输出的时候一定要加toString()参考代码:import java.nio.Buffer;import java.util.S…… 题解列表 2021年09月26日 0 点赞 0 评论 155 浏览 评分:0.0
1031: [编程入门]自定义函数之字符串反转-题解(python代码) 摘要:解题思路:注意事项:参考代码:a = input().replace(' ','')for i in a[::-1]: print(i,end=''…… 题解列表 2021年10月14日 0 点赞 0 评论 203 浏览 评分:0.0