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]);
         }
     }
 }

最新文章

  1. (实用篇)PHP递归实现无限级分类
  2. vagrant 安装使用 win7
  3. 每日英语:Mistrust Between U.S., Malaysia Strains Probe
  4. SQL Server中存储过程 比 直接运行SQL语句慢的原因
  5. Linux下的scp拷贝命令详解
  6. web.xml 配置的详解
  7. UITabBarController详解
  8. mapreduce 多路输出
  9. perl unload utf-8 oracle Wide character in print at unload_oracle.pl line 105.
  10. [LeetCode#241]Different Ways to Add Parentheses
  11. Codeforces 544E Remembering Strings 状压dp
  12. cavium octeon 处理器启动总线Bootbus 简介
  13. The tempfile module
  14. hello Kotlin!
  15. Webpack 2 视频教程 013 - 自动分离 CSS 到独立文件
  16. c# 小数四舍五入,向上取整,向下取整,见角进元保留多个小数位数
  17. Numpy进阶操作
  18. Android学习(四)
  19. MYSQL 开发总结
  20. ZOJ Problem Set - 2014 Piggy-Bank【完全背包】

热门文章

  1. unity3d与eclipse集成开发android应用
  2. vc2008程序发布指南
  3. 孟岩的c++ 的学习方法,这何尝有不是做人做事的方法呢?
  4. 【转】深入研究java.lang.Runtime类
  5. Oracle程序包
  6. CVE爬虫抓取漏洞URL
  7. Compiler options do not specify -mv64+, but configuration is for C64x+
  8. JS 动态显示 获取下拉框的多个值
  9. UVa 808 (建坐标系、找规律) Bee Breeding
  10. JVM的参数设置与OutOfMemoryError异常关系