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;
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文

浙公网安备 33010602011771号