摘要:
1、九九乘法表 4、求两个数的最大公因子 public class Demo { public static void main(String[] args) { int m = 1000; //m、n是“两个数” int n = 495; int temp = 0; for(int i = 2;i 阅读全文
摘要:
1、冒泡排序 2、直接选择排序 3、反转排序 //将原序列反序排列 public class Demo { public static void main(String[] args) { int[] a = { 7, 6, 5, 4, 3, 2, 1 }; int temp; int len = 阅读全文