11 2020 档案

摘要:1 import java.util.*; 2 class O3_3 { 3 public static void main(String args[ ]) { 4 String s; 5 char c; 6 int nDig,nChar,nOther; 7 nDig=nChar=nOther=0; 阅读全文
posted @ 2020-11-30 22:27 李家宇 阅读(113) 评论(2) 推荐(1)
摘要:1 import java.util.*; 2 class O3_2 { 3 public static void main(String args[ ]) { 4 Scanner buf=new Scanner(System.in); 5 int[][] nums=new int[2][3]; 6 阅读全文
posted @ 2020-11-29 14:17 李家宇 阅读(116) 评论(1) 推荐(0)
摘要:1 class O3_1 { 2 public static void main(String args[ ]) { 3 int[][] twoD=new int[4][5]; 4 int i,j,k= 0; 5 for(i=0;i<twoD.length;i++) { 6 for(j=0;j<tw 阅读全文
posted @ 2020-11-28 12:55 李家宇 阅读(111) 评论(0) 推荐(0)
摘要:1 public class JumpSentence { 2 public static void main(String args[ ]) { 3 for(int i=1;i<=10;i++) { 4 if(i==6) { //输出1~5这五个整数 5 break; 6 } 7 System.o 阅读全文
posted @ 2020-11-27 13:38 李家宇 阅读(74) 评论(0) 推荐(0)
摘要:1 import java.util.*; 2 public class O1 { 3 public static void main(String args[ ]) { 4 int sum=0; 5 int i; //募捐人数 6 int money; 7 Scanner reader=new S 阅读全文
posted @ 2020-11-26 19:12 李家宇 阅读(86) 评论(0) 推荐(0)
摘要:1 import java.util.*; 2 public class TextScore { 3 public static void main(String args[ ]) { 4 int score; 5 char grade; 6 Scanner reader=new Scanner(S 阅读全文
posted @ 2020-11-26 19:11 李家宇 阅读(44) 评论(0) 推荐(0)