[编程入门]数字逆序输出 摘要:解题思路:注意事项:参考代码:Scanner sc = new Scanner(System.in); int[] arr = new int[10]; for (int i = 0; i < a…… 题解列表 2024年08月28日 0 点赞 0 评论 380 浏览 评分:9.9
菜鸟编程,高手勿看 摘要:解题思路:利用while 循环来进行元素逆置注意事项:参考代码:#include<iostream>using namespace std;int main(){ int arr[10]; for (…… 题解列表 2024年08月23日 0 点赞 0 评论 187 浏览 评分:9.9
[编程入门]数字逆序输出 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main() { int a[10]={0},i=0; for(i=0;i<10;i++) scanf("…… 题解列表 2024年06月09日 0 点赞 0 评论 194 浏览 评分:0.0
【编程入门】数字逆序输出 摘要:参考代码:#include<stdio.h>int main(){ int a[10],i,j; for(i=0;i<10;i++) scanf("%d",&a[i…… 题解列表 2024年06月05日 0 点赞 0 评论 363 浏览 评分:9.9
C++速度求解,够取巧 摘要:解题思路:暴力!按题目求解注意事项: 注意有局限性,万一人家输入的数组是乱序排放呢参考代码:#include <bits/stdc++.h>using namespace std;#define N …… 题解列表 2024年03月21日 0 点赞 0 评论 191 浏览 评分:0.0
数字逆序输出(java) 摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class Main { public static void main(String[] ar…… 题解列表 2024年03月01日 0 点赞 0 评论 302 浏览 评分:9.9
编写题解 1026: [编程入门]数字逆序输出 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,a[10]; for(i=0;i<10;i++){ scanf("%d",&a[i]); } fo…… 题解列表 2024年02月07日 0 点赞 0 评论 172 浏览 评分:0.0
数字逆序输出 摘要:解题思路:1.具体问题具体分析,本题要求输入十个数,定义数组长度为10就行了。2.注意数组下标是从零开始的,最后一个下标为9;数组下标0123456789插入前1234567890插入后0987543…… 题解列表 2024年01月25日 0 点赞 0 评论 125 浏览 评分:9.9
简单方法实现数字逆序输出 摘要:解题思路:创建数组存储数据,利用两个for循环即可实现第一个for循环:用于拿到用户输入的10个数字,存入数组第二个for循环:倒着输出创建的数组注意事项:参考代码:#include<iostream…… 题解列表 2024年01月18日 0 点赞 0 评论 276 浏览 评分:0.0
指针遍历解决 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;//输入10个数字,然后逆序输出。int main(){ int arr[10] = {…… 题解列表 2023年12月26日 0 点赞 0 评论 105 浏览 评分:0.0