摘要: package com.hanqi; import java.util.Random; public class Lianxi2 { public static void main(String[] args) { // TODO 自动生成的方法存根 int[]arr =new int[6]; for(int i=... 阅读全文
posted @ 2016-05-11 18:29 ①乷壹迣鎅 阅读(227) 评论(0) 推荐(0)
摘要: public static void main(String[] args) { // TODO 自动生成的方法存根 Random r=new Random(); String str="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";//列出所有的字母数字 ... 阅读全文
posted @ 2016-05-11 18:29 ①乷壹迣鎅 阅读(2324) 评论(0) 推荐(0)
摘要: Scanner sc= new Scanner(System.in); System.out.println("请输入数字个数"); int a=sc.nextInt(); //接收输入的数字 定义为a int arr[]=new int [a];//开辟一个空间储存数组 for(int i=0;i=min;) { ... 阅读全文
posted @ 2016-05-11 08:46 ①乷壹迣鎅 阅读(149) 评论(0) 推荐(0)