int a=;
int t;
for (int i=0;ia[j+1])
}}
for(int x:a)
scanner input = new scanner(system.in);
system.out.print("請輸入數字:");
int n = input.nextint();
if(b(n)) else }
static boolean b(int n)
return b;
scanner input = new scanner(system.in);
int arr = new int[5];
int a = 0;
int i=0;
for(;i=s)
} system.out.print("大於平均分的人數為:"+q);
for(int i= 100;i>0;i-=5)
int s=0;
for(int i = 1;i<=50;i++)
}system.out.println("1~50中是7的倍數之和為:"+s);
scanner input = new scanner(system.in);
int max = 0;
int min = 0;
for(int i=1;;i++)
if(maxa)
}system.out.print("最大值為:"+max+" ");
system.out.println("最小值為:"+min);
scanner input = new scanner(system.in);
for(int i = 0; ;i++) else if(a>=8||a<0)
switch(a)
}
for(int ji = 0;ji<=35;ji++)
}
for(int i =1;i<=100;i++)
else if(i%3==0)
else if(i%5==0)
else
}
for(int m = 0;m<=10;m++)
}
string arr = ;
string a = new string[arr.length];
for(int i=0,t=arr.length-1;iarr[i])
}system.out.println("最小值為:"+min);
system.out.println("對應的下標為:"+t);
scanner input = new scanner(system.in);
system.out.println("請輸入10個整數:");
int a;
int s1=0;
int s2=0;
int s3=0;
int s4=0;
int arr = new int[10];
int i =0;
for(i=0;i<10;i++)
} system.out.print("輸入的數字為:");
for(int m :arr)
system.out.println();
system.out.println("數字1的個數為:"+s1);
system.out.println("數字2的個數為:"+s2);
system.out.println("數字3的個數為:"+s3);
system.out.println("非法數字個數為:"+s4);
int arr = ;
int q = new int[arr.length];
system.out.print("原陣列為:");
for(int m :arr)
system.out.println();
system.out.print("新陣列為:");
for(int i=0;isystem.out.print(q[i]+" ");
}
for(int i =1;i<=500;i++)
}
第49週六雜記
晚上記錄下今天,上午去萬科辦理了退認籌金的手續,說是錢1 2周到賬,我把之前的認籌協議 收據之類的都給他們了,但出來時沒帶任何憑據,哪怕是像在銀行辦理業務時影印協議一樣,只是在兩份檔案上的簽字按手印,幸虧錢不多也信萬科不會耍賴,否則如果對方耍賴不給錢我是沒任何辦法的,害人之心不可有防人之心不可無,這...
11 10週六筆記
linux開發工具 1.編譯器gcc 查語法錯誤 2.偵錯程式gdb 查功能錯誤 3.工程管理器make 效率高 智慧型 4.指令碼shell 指令碼檔案不用編譯可直接執行 linux是不區分拓展名的,但vim和gcc區分 原始檔.c 預處理 編譯 鏈結 可執行 gcc是乙個交叉平台編譯器,它能夠在...
串列埠 周五週六簡記
星期五的時候把串列埠工程 e documents program routine example lpc1220 uart lpc1220 uart autobaud lpc1220 uart autobaud.xmp 週六的時候,小東的mdk和tkstudio總出問題,上午和下午都是在弄這個 1....