摘要: import java.util.Random; import java.util.Scanner; public class p78_5 { public static void main(String[] args) { int N = 7; int []a=new int[N]; Random 阅读全文
posted @ 2019-07-04 15:04 bobo哥 阅读(1523) 评论(0) 推荐(0)
摘要: import java.util.Scanner; public class p78_4 { public static void main(String[] args) { int N = 4,M=5; int [][]a=new int[N][M]; int MAX,MIN; int i,j; 阅读全文
posted @ 2019-07-04 14:57 bobo哥 阅读(1668) 评论(0) 推荐(0)
摘要: import java.util.Scanner; public class p78_3 { public static void main(String[] args) { int N = 3; int [][]a=new int[N][N]; int sum=0; int i,j; Scanne 阅读全文
posted @ 2019-07-04 14:48 bobo哥 阅读(1450) 评论(0) 推荐(0)
摘要: import java.util.Scanner; public class p78_2 { final static int N=7; public static void main(String[] args) { int MAX,MIN; int []a=new int[N]; Scanner 阅读全文
posted @ 2019-07-04 14:39 bobo哥 阅读(1215) 评论(0) 推荐(0)
摘要: import java.awt.List; import java.util.ArrayList; import java.util.Scanner; public class p78_11 { public static void main(String[] args) { String str= 阅读全文
posted @ 2019-07-04 14:23 bobo哥 阅读(762) 评论(0) 推荐(0)
摘要: 源程序: import java.util.Scanner; public class p78_10 { public static void main(String[] args) { int n_char=0,n_digit=0,n_other=0; char []a=new char[100] 阅读全文
posted @ 2019-07-04 14:02 bobo哥 阅读(2247) 评论(0) 推荐(0)
摘要: // 迭代法求fibonacci数列 public class p52 { public static void main(String[] args) { int f1=1,f2=1; for(int i=1;i<=18;i++) { System.out.print(f1+"\t"+f2+"\t 阅读全文
posted @ 2019-07-04 13:48 bobo哥 阅读(849) 评论(0) 推荐(0)
摘要: //求两个数的最大公约数 import java.io.IOException; import java.util.Scanner; public class p55 { public static void main(String[] args) throws IOException { int 阅读全文
posted @ 2019-07-04 13:44 bobo哥 阅读(334) 评论(0) 推荐(0)
摘要: 源程序: import java.util.Scanner; public class p78_1 { public static void main(String[] args) { int N = 7; int []a=new int[N]; int sum=0; Scanner reader= 阅读全文
posted @ 2019-07-04 13:38 bobo哥 阅读(245) 评论(0) 推荐(0)
摘要: public class App5_6 { public static void main(String[] args) { String str="126747621"; int i=0,n; boolean yn=true; if(args.length>0) str=args[0]; Syst 阅读全文
posted @ 2019-07-04 13:32 bobo哥 阅读(162) 评论(0) 推荐(0)