摘要: package MyDtudent; public class LotteryRandomGenertor { public int redBall []= new int[6]; public int blueBall; public void run(){ for (int i = 0; i < 阅读全文
posted @ 2018-04-08 01:36 园全 阅读(125) 评论(0) 推荐(0) 编辑
摘要: package MyDtudent; import java.io.FileReader;import java.io.FileWriter;import java.util.Properties; import javax.swing.JOptionPane; public class Atm { 阅读全文
posted @ 2018-04-08 01:35 园全 阅读(108) 评论(0) 推荐(0) 编辑
摘要: public static void main(String[]aaa){ String [] name = new String[5]; int [] salary = new int[5]; for (int i = 0; i < salary.length; i++) { String a = 阅读全文
posted @ 2018-03-25 17:54 园全 阅读(169) 评论(0) 推荐(0) 编辑
摘要: int a =Integer.parseInt(JOptionPane.showInputDialog (null,"请输入一个数:")); int e = a; int c = 0;// 求出这个数的二进制长度 while(a!=0){ a =a/2; c++; }// 将二进制码变为数组并反向赋 阅读全文
posted @ 2018-03-25 17:53 园全 阅读(211) 评论(0) 推荐(0) 编辑