摘要: /* 1 编写代码实现如下内容:if语句实现考试成绩分等级(使用switch语句)。 [90-100] A等。 [80-90) B等。 [70-80) C等。 [60-70) D等。 [0-60) E等。 请根据给定成绩,输出对应的等级。 说明:"["表示包含,")"表示不包含 */ import ... 阅读全文
posted @ 2019-03-10 20:58 芯-觞 阅读(653) 评论(0) 推荐(0) 编辑
摘要: 111111111111 ... 阅读全文
posted @ 2019-03-10 20:52 芯-觞 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 1111111111 ... 阅读全文
posted @ 2019-03-10 20:52 芯-觞 阅读(233) 评论(0) 推荐(0) 编辑
摘要: public class ArrayDemo3{ public static void main(String[] args){ //定义数组 并同时赋值 int[] arr=new int[]{3,4,5,8,2}; System.out.println(arr.length); System.out.println(a... 阅读全文
posted @ 2019-03-10 20:50 芯-觞 阅读(242) 评论(0) 推荐(0) 编辑
摘要: public class ArrayDemo5{ public static void main(String[] args){ int[][] arr=new int[3][]; arr[0]=new int[]{41,22}; arr[1]=new int[]{31,12,13}; arr[2]=new int[]{3,... 阅读全文
posted @ 2019-03-10 20:45 芯-觞 阅读(182) 评论(0) 推荐(0) 编辑