摘要:
public class test { public static void main(String[] args) { //反转数组 int[] arrays = {1,2,3,4,5}; int[] result = new int[arrays.length]; for (int i = 0, 阅读全文
posted @ 2022-10-14 19:59
exact1314
阅读(29)
评论(0)
推荐(0)
摘要:
public class test { public static void main(String[] args){ test t =new test(); int i=t.max(9,8,7,4,50); System.out.print(i); } public int max(int...i 阅读全文
posted @ 2022-10-14 14:23
exact1314
阅读(24)
评论(0)
推荐(0)
摘要:
public class test { public static void main(String[] args){ //输出n行的三角形 int n= 25; for (int j = 0; j < n; j++) { for (int i = j; i < n; i++) { System.o 阅读全文
posted @ 2022-10-14 13:18
exact1314
阅读(36)
评论(0)
推荐(0)
摘要:
public class test { public static void main(String[] args){ for (int j= 1; j <= 9; j++){ for (int i = 1; i <= j; i++) { System.out.print(i+"x"+j+"="+i 阅读全文
posted @ 2022-10-14 11:08
exact1314
阅读(28)
评论(0)
推荐(0)
摘要:
public class test { public static void main(String[] args) { System.out.println("请输入计算x!的x值"); Scanner scanner = new Scanner(System.in); int m = scann 阅读全文
posted @ 2022-10-14 10:20
exact1314
阅读(22)
评论(0)
推荐(0)

浙公网安备 33010602011771号