HW6.28
2024-08-27 02:13:32
import java.util.Scanner; public class Solution { public static void main(String[] args) { Scanner input = new Scanner(System.in); int[] number = new int[10]; System.out.print("Enter 10 numbers: "); for(int i = 0; i < 10; i++) number[i] = input.nextInt(); input.close(); for(int i = 0; i < 9; i++) { for(int j = i + 1; j < 10; j++) System.out.println(number[i] + " " + number[j]); } } }
最新文章
- (实用篇)PHP递归实现无限级分类
- vagrant 安装使用 win7
- 每日英语:Mistrust Between U.S., Malaysia Strains Probe
- SQL Server中存储过程 比 直接运行SQL语句慢的原因
- Linux下的scp拷贝命令详解
- web.xml 配置的详解
- UITabBarController详解
- mapreduce 多路输出
- perl unload utf-8 oracle Wide character in print at unload_oracle.pl line 105.
- [LeetCode#241]Different Ways to Add Parentheses
- Codeforces 544E Remembering Strings 状压dp
- cavium octeon 处理器启动总线Bootbus 简介
- The tempfile module
- hello Kotlin!
- Webpack 2 视频教程 013 - 自动分离 CSS 到独立文件
- c# 小数四舍五入,向上取整,向下取整,见角进元保留多个小数位数
- Numpy进阶操作
- Android学习(四)
- MYSQL 开发总结
- ZOJ Problem Set - 2014 Piggy-Bank【完全背包】
热门文章
- unity3d与eclipse集成开发android应用
- vc2008程序发布指南
- 孟岩的c++ 的学习方法,这何尝有不是做人做事的方法呢?
- 【转】深入研究java.lang.Runtime类
- Oracle程序包
- CVE爬虫抓取漏洞URL
- Compiler options do not specify -mv64+, but configuration is for C64x+
- JS 动态显示 获取下拉框的多个值
- UVa 808 (建坐标系、找规律) Bee Breeding
- JVM的参数设置与OutOfMemoryError异常关系