编写题解 1031: [编程入门]自定义函数之字符串反转 摘要:import java.util.Scanner;public class Main { public static void main(String[] args) { Scan…… 题解列表 2024年05月09日 0 点赞 0 评论 154 浏览 评分:0.0
charAt之字符串反转 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) {…… 题解列表 2023年03月07日 0 点赞 0 评论 67 浏览 评分:0.0
[编程入门]自定义函数之字符串反转-题解(Java代码) 摘要:```java import java.util.Scanner; /** * @author Administrator * @date 2019/11/29 0029下午 16:0…… 题解列表 2019年11月29日 0 点赞 0 评论 416 浏览 评分:0.0
[编程入门]自定义函数之字符串反转-题解(C语言代码) 摘要:解题思路:注意事项:len记得减1参考代码:#include<stdio.h>#include<string.h>int main(){ int i,len; char a[100]; gets(a)…… 题解列表 2021年01月20日 0 点赞 0 评论 224 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.5 (C语言代码) 摘要:参考代码:#include<stdio.h> #include<string.h> int main() { char a[1000],b[1000]; int i,l; gets(…… 题解列表 2018年04月26日 0 点赞 0 评论 618 浏览 评分:0.0
[编程入门]自定义函数之字符串反转-题解(C语言代码) 摘要: #include #include int main() { char str1[100],str2[100]; gets(str1); …… 题解列表 2020年03月10日 0 点赞 0 评论 325 浏览 评分:0.0
自定义函数,使字符串反序存放,在主函数中输入并输出反序后的字符串(不包含空格)。 摘要:解题思路:字符串进行输入再进行反序输出,首先想到的是用字符数组来存放和反序输出。定义一个一维字符数组用于存放字符型数据。用gets()函数读取字符串,然后再自定义函数中进行反序存放和输出。自定义函数 …… 题解列表 2022年08月04日 0 点赞 0 评论 213 浏览 评分:0.0
[编程入门]自定义函数之字符串反转 (C语言代码) 摘要:#include<stdio.h> #include<string.h> int main() { int len,i; char a[100]; gets(a); len=st…… 题解列表 2019年04月24日 0 点赞 0 评论 433 浏览 评分:0.0
编写题解 1031: [编程入门]自定义函数之字符串反转 摘要:解题思路: 输入字符串→测量字符串的长度→反转:只需要将第一位和最后一位调换位置即可,依次类推→中止条件:左下标数等有右下标数;注意事项:参考代码:#include <stdio.h>#include…… 题解列表 2022年09月05日 0 点赞 0 评论 221 浏览 评分:0.0
1031: [编程入门]自定义函数之字符串反转 摘要:import java.io.*; /** * 使用 StringBuilder 和它的 reverse() 方法 */ public class Main { publ…… 题解列表 2021年12月11日 0 点赞 0 评论 137 浏览 评分:0.0