摘要:
package com0712;//使用二分法从一组数中找出目标数字public class Test4 { public static void main(String[] args) { int[] a = new int[]{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 阅读全文
posted @ 2021-07-12 20:37
JAVVA小拉拉
阅读(29)
评论(0)
推荐(0)
摘要:
package com0712;//递归求阶层public class Demo03 { public static void main(String[] args) { System.out.println(fac(10)); } public static long fac(int n){ if 阅读全文
posted @ 2021-07-12 15:01
JAVVA小拉拉
阅读(133)
评论(0)
推荐(0)
摘要:
package com0000;//不存在 相同数public class Demo { public static void main(String[] args) { int[] a = new int[6]; for (int i = 0; i < a.length; i++) { int b 阅读全文
posted @ 2021-07-12 08:49
JAVVA小拉拉
阅读(35)
评论(0)
推荐(0)
摘要:
package com;import java.util.Scanner;/* * 动态日历: * 1. 从控制台输入年和月,在控制天显示当前月的日历 * */public class Demo17 { public static void main(String[] args) { // 1.从控 阅读全文
posted @ 2021-07-12 08:43
JAVVA小拉拉
阅读(81)
评论(0)
推荐(0)
摘要:
package com0000;//冒泡排序public class Demo01 { public static void main(String[] args) { int[] arr=new int[]{1,5,2,6,9,44,21,32,15,48}; for(int i=0;i<arr. 阅读全文
posted @ 2021-07-12 08:38
JAVVA小拉拉
阅读(22)
评论(0)
推荐(0)

浙公网安备 33010602011771号