herrDeng網內搜尋

自訂搜尋

Ads

2013年10月7日 星期一

用數字代碼陣列顯示課表

用數字代碼陣列顯示課表

34 則留言:

B10133029 彭義竣 提到...

// 0=無, 1=資料結構, 2=人類活動與地球環境變遷, 3=公民社會概論, 4=英文, 5=導師, 6=統計學, 7=企業電子化, 8=資料庫管理系統
int[][] courses = {
{0,0,0,4,0,0},
{0,0,0,4,7,0},
{0,3,0,5,7,0},
{0,3,0,5,7,0},
{1,0,0,6,8,0},
{1,0,0,6,8,0},
{1,0,0,6,8,0},
{2,0,0,0,0,0},
{2,0,0,0,0,0}
};
for (int i = 0; i < courses.length; i += 1) {
for (int j = 0; j < courses[i].length + 1; j += 1) {
if ((j + 1) % 7 != 0) {
System.out.print(courses[i][j]);

}
else {
System.out.println();
}
}
}

B10133048 饒家華 提到...

package go;

public class FBI {

public static void main(String[] args) {
// 0:空堂,1:資料結構,2:人類活動與地球環境變遷,3:公民社會概論,4:體育,5:密碼學,6:英文,7:導師,8:統計學,9:企業電子化,10:資料庫管理系統
int[][] courses={{0,0,0,6,0},
{0,0,5,6,9},
{0,3,5,7,9},
{0,3,5,7,9},
{1,4,0,8,10},
{1,4,0,8,10},
{1,0,0,8,10},
{2,0,0,0,0},
{2,0,0,0,0}};
for (int i = 0; i < courses.length; i += 1) {
for (int j = 0; j < courses[i].length + 1; j += 1) {
if ((j + 1) % 6 != 0) {
System.out.print(courses[i][j]);

}
else {
System.out.println();

}
}
}
}
}

B10133016王致翔 提到...

import java.util.*;
public class karama {
public static void main(String[]args){
int d;
int [][] a = {{0,1,0,2,0},
{3,1,,2,4},
{3,5,8,6,4},
{3,5,8,6,4},
{7,0,0,9,10},
{7,0,0,9,10},
{7,0,0,9,10},
{11,0,0,0,0},
{11,0,0,0,0}};

for(int b=1;b<=5;b++){
System.out.print(b+"\t");
}
for (int c=0;c<=8;c++){
System.out.println("");
for (int e=0;e<=4;e++){
d=a[c][e];
System.out.println (d);
}
}
}
}

B10133016王致翔 提到...

import java.util.*;
public class karama {
public static void main(String[]args){
int d;
int [][] a = {{0,1,0,2,0},
{3,1,0,2,4},
{3,5,8,6,4},
{3,5,8,6,4},
{7,0,0,9,10},
{7,0,0,9,10},
{7,0,0,9,10},
{11,0,0,0,0},
{11,0,0,0,0}};

for(int b=1;b<=5;b++){
System.out.print(b+"\t");
}
for (int c=0;c<=8;c++){
System.out.println("");
for (int e=0;e<=4;e++){
d=a[c][e];
System.out.println (d);
}
}
}
}

b10133002 謝佩紋 提到...

package ab;

public class ex3 {

public static void main(String[] args) {
// 0:空堂,1:英文,2:公民社會概論,3:密碼學,4:導師,5:企業電子化,6:資料結構,7:人類活動與地球環境變化,8:體育,9:統計學,10:資料庫管理系統
int[][] courses={{0,0,0,1,0},
{0,0,3,1,5},
{0,2,3,4,5},
{0,2,3,4,5},
{6,8,0,9,10},
{6,8,0,9,10},
{6,0,0,9,10},
{7,0,0,0,0},
{7,0,0,0,0}};
for (int i = 0; i < courses.length; i += 1) {
for (int j = 0; j < courses[i].length + 1; j += 1) {
if ((j + 1) % 6 != 0) {
System.out.print(courses[i][j]);

}
else {
System.out.println();

}
}
}
}
}

B10133042沈俞宜 提到...

package ab;
public class ket {
public static void main(String[] args)
{
// 0:空堂,1:英文,2:公民社會概論,3:密碼學,4:導師,5:企業電子化,6:資料結構,7:人類活動與地球環境變化,8:體育,9:統計學,10:資料庫管理系統
int[][] courses={
{0,1,0,0,0},
{0,1,3,0,5},
{0,2,3,4,5},
{0,2,3,4,5},
{6,8,0,9,10},
{6,8,0,9,10},
{6,0,0,9,10},
{7,0,0,0,0},
{7,0,0,0,0}};
for (int i = 0; i < courses.length; i += 1) {
for (int j = 0; j < courses[i].length + 1; j += 1) {
if ((j + 1) % 6 != 0) {
System.out.print(courses[i][j]);

}
else {
System.out.println();

}
}
}
}
}

B10133047鄭兆珊 提到...

package ab;
public class san {
public static void main(String[] args)
{
// 0:空堂,1:英文,2:公民社會概論,3:密碼學,4:導師,5:企業電子化,6:資料結構,7:人類活動與地球環境變化,8:體育,9:統計學,10:資料庫管理系統
int[][] courses={
{0,0,0,1,0},
{0,0,3,1,5},
{0,2,3,4,5},
{0,2,3,4,5},
{6,8,0,9,10},
{6,8,0,9,10},
{6,0,0,9,10},
{7,0,0,0,0},
{7,0,0,0,0}};
for (int i = 0; i < courses.length; i += 1) {
for (int j = 0; j < courses[i].length + 1; j += 1) {
if ((j + 1) % 6 != 0) {
System.out.print(courses[i][j]);

}
else {
System.out.println();

}
}
}
}
}

B10133033呂之筠 提到...

package ab;
public class wei {
public static void main(String[] args)
{
// 0:空堂,1:英文,2:公民社會概論,3:密碼學,4:導師,5:企業電子化,6:資料結構,7:人類活動與地球環境變化,8:體育,9:統計學,10:資料庫管理系統,11:物件導向,12:國文
int[][] courses={
{0,1,0,0,0},
{11,1,3,0,5},
{11,2,3,4,5},
{11,2,3,4,5},
{6,8,0,9,10},
{6,8,0,9,10},
{6,12,0,9,10},
{7,12,0,0,0},
{7,0,0,0,0}};
for (int i = 0; i < courses.length; i += 1) {
for (int j = 0; j < courses[i].length + 1; j += 1) {
if ((j + 1) % 6 != 0) {
System.out.print(courses[i][j]);

}
else {
System.out.println();

}
}
}
}
}

B10133014 吳欣怡 提到...

package ab;

public class ex1 {

public static void main(String[] args) {
// 0:空堂,1:英文,2:公民社會概論,3:密碼學,4:導師,5:企業電子化,6:資料結構,7:人類活動與地球環境變化,8:體育,9:統計學,10:資料庫管理系統
int[][] courses={
{0,1,0,0,0},
{0,1,3,0,5},
{0,2,3,4,5},
{0,2,3,4,5},
{6,8,0,9,10},
{6,8,0,9,10},
{6,0,0,9,10},
{7,0,0,0,0},
{7,0,0,0,0}};
for (int i = 0; i < courses.length; i += 1) {
for (int j = 0; j < courses[i].length + 1; j += 1) {
if ((j + 1) % 6 != 0) {
System.out.print(courses[i][j]);

}
else {
System.out.println();

}
}
}
}
}

B10133021 吳屹軒 提到...

package ab;

public class ex1 {

public static void main(String[] args) {
// 0:空堂,1:英文,2:公民社會概論,3:體育,4:導師,5:企業電子化,6:資料結構,7:人類活動與地球環境變化,8:統計學,9:資料庫管理系統
int[][] courses={
{0,1,3,0,0},
{0,1,3,0,5},
{0,2,0,4,5},
{0,2,0,4,5},
{6,0,0,8,9},
{6,0,0,8,9},
{6,0,0,8,9},
{7,0,0,0,0},
{7,0,0,0,0}};
for (int i = 0; i < courses.length; i += 1) {
for (int j = 0; j < courses[i].length + 1; j += 1) {
if ((j + 1) % 6 != 0) {
System.out.print(courses[i][j]);

}
else {
System.out.println();

}
}
}
}
}

B10133009 王韋翔 提到...


public class hello {
public static void main(String[] args)
{
//空堂=0
//休閒活動規劃與管理=1
// 資料結構=2
// 人類活動與地球環境變遷=3
// 英文=4
// 公民社會概論=5
// 生產管理=6
// 體育=7
// 班會=8
// 統計學=9
// 企業電子化=10
// 資料庫管理系統=11

int t;
int cos[][]={{0,4,7,0,0},
{0,4,7,0,10},
{1,5,0,8,10},
{1,5,0,8,10},
{2,6,0,9,11},
{2,6,0,9,11},
{2,6,0,9,11},
{3,0,0,0,0},
{3,0,0,0,0}};
for(int x=0;x<5;x++){
System.out.print("\t星期"+(x+1)+"\t");
}
System.out.println();
for(int i=0;i<cos.length;i++){

System.out.print("第"+(i+1)+"節 ");

for(int j=0;j<cos[i].length;j++){
t=cos[i][j];
switch(t){
case 0:
System.out.print("\t空  堂"+"\t");
break;
case 1:
System.out.print("\t休閒活動");
break;
case 2:
System.out.print("\t資料結構");
break;
case 3:
System.out.print("\t人類活動"+"\t");
break;
case 4:
System.out.print("\t英文");
break;
case 5:
System.out.print("\t\t公民社會"+"\t");
break;
case 6:
System.out.print("\t\t生產管理"+"\t");
break;
case 7:
System.out.print("\t\t體  育"+"\t");
break;
case 8:
System.out.print("\t班  會");
break;
case 9:
System.out.print("\t統計學 ");
break;
case 10:
System.out.print("\t\t企業電子");
break;
case 11:
System.out.print("\t\t資料庫 ");
break;


}
}

System.out.println();
}
}
}

B10133051張丞緯 提到...

import java.util.*;
public class ak1 {
public static void main(String[]args){
int d;
int [][] a = {{0,4,0,0,0},
{0,4,0,0,10},
{1,5,0,8,10},
{1,5,0,8,10},
{2,6,0,9,11},
{2,6,0,9,11},
{2,7,0,9,11},
{3,7,0,0,0},
{3,0,0,0,0}};
for (int b=1;b<=5;b++){
System.out.print(b+"\t");
}

for (int c=0;c<=8;c++){
System.out.println("");
for (int e=0;e<=4;e++){
d=a[c][e];
switch(d){
case 0 :
System.out.print("空堂\t");
break;
case 1:
System.out.print("體育\t");
break;
case 2:
System.out.print("資料結構\t");
break;
case 3:
System.out.println("人類活動與");
System.out.print("地球環境變遷\t");
break;
case 4:
System.out.print("英文\t");
break;
case 5:
System.out.print("公民社會概論\t");
break;
case 6:
System.out.print("數位影像藝術\t");
break;
case 7:
System.out.print("古蹟與文化\t");
break;
case 8:
System.out.print("導師\t");
break;
case 9:
System.out.print("統計學\t");
break;
case 10:
System.out.print("企業電子化\t");
break;
case 11:
System.out.print("資料庫管理\t");
break;

}
}
}
}
}

B10133013林子恩 提到...

package love;

public class live {

public static void main(String[] args) {
// 0:空堂,1:體育,2:資料結構,3:人類與地球環境變遷,4:公民與社會概論,5:數位影像藝術,6:英文,7:導師,8:統計學,9:企業電子化,10:資料庫管理系統
int[][] courses={
{0,0,0,6,9},
{0,0,0,6,9},
{1,4,0,7,9},
{1,4,0,7,10},
{2,0,0,8,10},
{2,0,0,8,10},
{2,5,0,8,0},
{3,5,0,0,0},
{3,0,0,0,0}
};
for (int i = 0; i < courses.length; i += 1) {
for (int j = 0; j < courses[i].length + 1; j += 1) {
if ((j + 1) % 7 != 0) {
System.out.print(courses[i][j]);
}
else {
System.out.println();
}
}
}
}
}

b10133045林玹安 提到...

import java.util.*;
public class Class {
public static void main(String[]args){
int d;
int [][] a =
{{0,1,0,2,0},
{3,1,4,2,5},
{3,6,4,7,5},
{3,6,4,7,5},
{8,9,0,10,11},
{8,9,0,10,11},
{8,0,0,10,11},
{12,0,0,0,0},
{12,0,0,0,0}};
for (int b=1;b<=5;b++){
System.out.print(b+"\t");
}

for (int c=0;c<=8;c++){
System.out.println("");
for (int e=0;e<=4;e++){
d=a[c][e];
switch(d){
case 0 :
System.out.print("空堂\t");
break;
case 1:
System.out.print("英文\t");
break;
case 2:
System.out.print("基礎日文\t");
break;
case 3:
System.out.print("物件導向技術\t");
break;
case 4:
System.out.print("密碼學\t");
break;
case 5:
System.out.print("企業電子化\t");
break;
case 6:
System.out.print("公民社會概論 ");
break;
case 7:
System.out.print("導師\t");
break;
case 8:
System.out.print("資料結構\t");
break;
case 9:
System.out.print("體育(羽球)\t");
break;
case 10:
System.out.print("統計學\t");
break;
case 11:
System.out.print("資料庫管理\t");
break;
case 12:
System.out.print("人類活動與地球環境變遷\t");
break;



}
}
}
}
}


B10133046邱誌寬 提到...

package go;

public class adc {

public static void main(String[] args) {
// 0:空堂,1:資料結構,2:人類活動與地球環境變遷,3:公民社會概論,4:體育,5:物件導向,6:密碼學,7:英文,8:導師,9:統計學,10:企業電子化,11:資料庫管理系統
int[][] sup={{0,0,0,7,0},
{5,0,6,7,10},
{5,3,6,8,10},
{5,3,6,8,10},
{1,4,0,9,11},
{1,4,0,9,11},
{1,0,0,9,11},
{2,0,0,0,0},
{2,0,0,0,0}};
for (int i = 0; i < sup.length; i += 1) {
for (int j = 0; j < sup[i].length + 1; j += 1) {
if ((j + 1) % 6 != 0) {
System.out.print(courses[i][j]);

}
else {
System.out.println();

}
}
}
}
}

B10133011 黃怡蓁 提到...

public class abc {

public static void main(String[] args) {
// 0:空堂,1:資料結構,2:人類活動與地球環境變化,3:英文,4:公民社會概論,5:體育,6:密碼學,7:導師,8:統計學,9:企業電子化,10:資料庫管理系統
int[][] courses={
{0,3,0,0,0},
{0,3,6,0,9},
{0,4,6,7,9},
{0,4,6,7,9},
{1,5,0,8,10},
{1,5,0,8,10},
{1,0,0,8,10},
{2,0,0,0,0},
{2,0,0,0,0}};
for (int i = 0; i < courses.length; i += 1) {
for (int j = 0; j < courses[i].length + 1; j += 1) {
if ((j + 1) % 6 != 0) {
System.out.print(courses[i][j]);

}
else {
System.out.println();

}
}
}
}
}

B10133023徐顥 提到...

package go;

public class sam {

public static void main(String[] args) {
// 0:空堂,1:資料結構,2:人類活動與地球環境變遷,3:公民社會概論,4:體育,5:物件導向,6:基礎日文,7:英文,8:導師,9:統計學,10:企業電子化,11:資料庫管理系統
int[][] adc={{0,0,0,7,0},
{5,0,6,7,10},
{5,3,6,8,10},
{5,3,0,8,10},
{1,4,0,9,11},
{1,4,0,9,11},
{1,0,0,9,11},
{2,0,0,0,0},
{2,0,0,0,0}};
for (int i = 0; i < adc.length; i += 1) {
for (int j = 0; j < adc[i].length + 1; j += 1) {
if ((j + 1) % 6 != 0) {
System.out.print(courses[i][j]);

}
else {
System.out.println();

}
}
}
}
}

B10133003 王冠文 提到...

// 0=無, 1=資料結構, 2=人類活動與地球環境變遷, 3=公民社會概論, 4=英文, 5=導師, 6=統計學, 7=企業電子化, 8=資料庫管理系統
int[][] courses = {
{0,0,0,4,0,0},
{0,0,0,4,7,0},
{0,3,0,5,7,0},
{0,3,0,5,7,0},
{1,0,0,6,8,0},
{1,0,0,6,8,0},
{1,0,0,6,8,0},
{2,0,0,0,0,0},
{2,0,0,0,0,0}
};
for (int i = 0; i < courses.length; i += 1) {
for (int j = 0; j < courses[i].length + 1; j += 1) {
if ((j + 1) % 7 != 0) {
System.out.print(courses[i][j]);

}
else {
System.out.println();
}
}
}

B10133044吳盛盟 提到...

package go;

public class FBI {

public static void main(String[] args) {
// 0:空堂,1:資料結構,2:人類活動與地球環境變遷,3:公民社會概論,4:體育,5:密碼學,6:英文,7:導師,8:統計學,9:企業電子化,10:資料庫管理系統
int[][] courses={{0,0,0,6,0},
{0,0,5,6,9},
{0,3,5,7,9},
{0,3,5,7,9},
{1,4,0,8,10},
{1,4,0,8,10},
{1,0,0,8,10},
{2,0,0,0,0},
{2,0,0,0,0}};
for (int i = 0; i < courses.length; i += 1) {
for (int j = 0; j < courses[i].length + 1; j += 1) {
if ((j + 1) % 6 != 0) {
System.out.print(courses[i][j]);

}
else {
System.out.println();

}
}
}
}
}

B10133174 蔡翔宇 提到...

package ex0929;
public class Class {
public static void main(String[] args) {int d;
int [][] a = {{0,1,0,0,0},
{0,1,0,0,2},
{0,3,0,4,2},
{0,3,0,4,2},
{5,9,0,6,7},
{5,9,0,6,7},
{5,9,10,6,7},
{8,0,10,0,0},
{8,0,10,0,0}};
for (int b=1;b<=5;b++){
System.out.print(b+"\t");}
for (int c=0;c<=10;c++){
System.out.println("");
for (int e=0;e<=4;e++){
d=a[c][e];
switch(d){
case 0 :
System.out.print("空堂\t");break;
case 1:System.out.print("英文\t");break;
case 2:System.out.print("企業電子化\t");break;
case 3:System.out.print("公民社會概論\t");break;
case 4:System.out.print("導師\t");break;
case 5:System.out.print("資料結構\t");break;
case 6:System.out.print("統計學 \t");break;
case 7:System.out.print("資料庫管理\t");break;
case 8:System.out.print("人類活動與地球環境變化\t");break;
case 9:System.out.print("經濟學\t");break;
case 10:System.out.print("管理學\t");break; }
}
}
}
}

B9833005 劉佳玟 提到...

B10133029 彭義竣 提到...
// 0=無, 1=資料結構, 2=生活中的化學, 3=資料庫
int[][] courses = {
{0,0,0,0,0,0},
{0,0,0,0,0,0},
{0,0,0,0,0,0},
{0,0,0,0,0,0},
{1,2,3,0,0,0},
{1,2,3,0,0,0},
{1,0,3,0,0,0},
{0,0,0,0,0,0},
{0,0,0,0,0,0}
};
for (int i = 0; i < courses.length; i += 1) {
for (int j = 0; j < courses[i].length + 1; j += 1) {
if ((j + 1) % 7 != 0) {
System.out.print(courses[i][j]);

}
else {
System.out.println();
}
}
}

B9833005 劉佳玟 提到...

B10133029 彭義竣 提到...
// 0=無, 1=資料結構, 2=生活中的化學, 3=資料庫
int[][] courses = {
{0,0,0,0,0,0},
{0,0,0,0,0,0},
{0,0,0,0,0,0},
{0,0,0,0,0,0},
{1,2,3,0,0,0},
{1,2,3,0,0,0},
{1,0,3,0,0,0},
{0,0,0,0,0,0},
{0,0,0,0,0,0}
};
for (int i = 0; i < courses.length; i += 1) {
for (int j = 0; j < courses[i].length + 1; j += 1) {
if ((j + 1) % 7 != 0) {
System.out.print(courses[i][j]);

}
else {
System.out.println();
}
}
}

B10133036孫翊玲 提到...

package go;

public class BB {

public static void main(String[] args) {
// 0:空堂,1:資料結構,2:人類活動與地球環境變遷,3:公民社會概論,4:體育,5:數位影像藝術,6:密碼學,7:軍事傳播學,8:英文,9:導師,10:統計學,11:企業電子化,12:資料庫管理
int[][] AA={{0,0,0,8,0},
{0,0,6,8,11},
{0,3,6,9,11},
{0,3,6,9,11},
{1,4,0,10,12},
{1,4,0,10,12},
{1,5,7,10,12},
{2,5,7,0,0},
{2,0,0,0,0}};
for (int i = 0; i < AA.length; i += 1) {
for (int j = 0; j < AA[i].length + 1; j += 1) {
if ((j + 1) % 6 != 0) {
System.out.print(AA[i][j]);

}
else {
System.out.println();

}
}
}
}
}

b10033185邱詩婕 提到...

package go;

public class sf {

public static void main(String[] args) {
// 0:空堂,1:物件導向,2:資料結構,3:企業概論,4:資訊安全,5:資料庫管理,6:統計學,7:電腦裝修,8:網路程式設計
int[][] df={{0,0,0,0,0},
{1,3,4,0,8},
{1,3,4,0,8},
{1,3,4,0,8},
{2,0,5,6,0},
{2,0,5,6,0},
{2,0,5,6,0},
{0,0,0,7,0},
{0,0,0,7,0}};
for (int i = 0; i &lt; df.length; i += 1) {
for (int j = 0; j &lt; df[i].length + 1; j += 1) {
if ((j + 1) % 6 != 0) {
System.out.print(df[i][j]);

}
else {
System.out.println();

}
}
}
}
}

B10133018翁湘姿 提到...

package go;

public class lang {

public static void main(String[] args) {
// 0:空堂,1:資料結構,2:人類活動與地球環境變遷,3:公民社會概論,4:數位影像藝術,5:體育,6:密碼學,7:英文,8:導師,9:統計學,10:企業電子化,11:資料庫管理
int[][] AA={{0,0,0,7,0},
{0,0,6,7,10},
{0,3,6,8,10},
{0,3,6,8,10},
{1,4,0,9,11},
{1,4,0,9,11},
{1,5,0,9,11},
{2,5,0,0,0},
{2,0,0,0,0}};
for (int i = 0; i < AA.length; i += 1) {
for (int j = 0; j < AA[i].length + 1; j += 1) {
if ((j + 1) % 6 != 0) {
System.out.print(AA[i][j]);

}
else {
System.out.println();

}
}
}
}
}

B10133030林潔如 提到...

package go;

public class ace {

public static void main(String[] args) {
// 0:空堂,1:資料結構,2:人類活動與地球環境變遷,3:公民社會概論,4:數位影像藝術,5:體育,6:密碼學,7:英文,8:導師,9:統計學,10:企業電子化,11:資料庫管理
int[][] AA={{0,0,0,7,0},
{0,0,6,7,10},
{0,3,6,8,10},
{0,3,6,8,10},
{1,4,0,9,11},
{1,4,0,9,11},
{1,5,0,9,11},
{2,5,0,0,0},
{2,0,0,0,0}};
for (int i = 0; i < AA.length; i += 1) {
for (int j = 0; j < AA[i].length + 1; j += 1) {
if ((j + 1) % 6 != 0) {
System.out.print(AA[i][j]);

}
else {
System.out.println();

}
}
}
}
}

B10133031 邱敏惠 提到...

package ab;

public class abc {

public static void main(String[] args) {
// 0:空堂,1:英文,2:公民社會概論,3:密碼學,4:導師,5:企業電子化,6:資料結構,7:人類活動與地球環境變化,8:體育,9:統計學,10:資料庫管理系統
int[][] courses={{0,0,0,1,0},
{0,0,3,1,5},
{0,2,3,4,5},
{0,2,3,4,5},
{6,8,0,9,10},
{6,8,0,9,10},
{6,0,0,9,10},
{7,0,0,0,0},
{7,0,0,0,0}};
for (int i = 0; i < courses.length; i += 1) {
for (int j = 0; j < courses[i].length + 1; j += 1) {
if ((j + 1) % 6 != 0) {
System.out.print(courses[i][j]);

}
else {
System.out.println();

}
}
}
}
}

B9933137 黃宇儂 提到...

package ab;

public class ex1 {

public static void main(String[] args) {
// 0:空堂,1:網際網路程式設計;,2:資料結構,3:通識,4:策略管理,5:密碼學,6:程式設計,7:導師,8:進階網頁設計
int[][] courses={{0,0,0,0,0},
{1,0,5,0,8},
{1,3,5,7,8},
{1,3,5,7,8},
{2,4,6,0,0},
{2,4,6,0,0},
{2,4,6,0,0},
{0,0,0,0,0},
{0,0,0,0,0}};
for (int i = 0; i < courses.length; i += 1) {
for (int j = 0; j < courses[i].length + 1; j += 1) {
if ((j + 1) % 6 != 0) {
System.out.print(courses[i][j]);

}
else {
System.out.println();

}
}
}
}
}

B10133025王柏文 提到...

package eX1;

public class live {

public static void main(String[] args) {
// 0:空堂,1:體育,2:資料結構,3:人類與地球環境變遷,4:公民與社會概論,5:數位影像藝術,6:英文,7:導師,8:統計學,9:企業電子化,10:資料庫管理系統
int[][] courses={
{0,0,0,6,9},
{0,0,0,6,9},
{1,4,0,7,9},
{1,4,0,7,10},
{2,0,0,8,10},
{2,0,0,8,10},
{2,5,0,8,0},
{3,5,0,0,0},
{3,0,0,0,0}
};
for (int i = 0; i < courses.length; i += 1) {
for (int j = 0; j < courses[i].length + 1; j += 1) {
if ((j + 1) % 7 != 0) {
System.out.print(courses[i][j]);
}
else {
System.out.println();
}
}
}
}
}

B9933029江軒澔 提到...

package go;

public class ace {

public static void main(String[] args) {
// 0:空堂,1:資料結構,2:人類活動與地球環境變遷,3:公民社會概論,4:數位影像藝術,5:體育,6:密碼學,7:英文,8:導師,9:統計學,10:企業電子化,11:資料庫管理
int[][] AA={{0,0,0,7,0},
{0,0,6,7,10},
{0,3,6,8,10},
{0,3,6,8,10},
{1,4,0,9,11},
{1,4,0,9,11},
{1,5,0,9,11},
{2,5,0,0,0},
{2,0,0,0,0}};
for (int i = 0; i < AA.length; i += 1) {
for (int j = 0; j < AA[i].length + 1; j += 1) {
if ((j + 1) % 6 != 0) {
System.out.print(AA[i][j]);

}
else {
System.out.println();

}
}
}
}
}

B9933161廖佳穎 提到...

package ab;

public class ex3 {

public static void main(String[] args) {
// 0:空堂,1:英文,2:社會概論,3:密碼學,4:導師,5:國文,6:資料結構,7:美學,8:體育,9:統計學,10:資料庫管理系統
int[][] courses={{0,0,0,1,0},
{0,0,3,1,5},
{0,2,3,4,5},
{0,2,3,4,5},
{6,8,0,9,10},
{6,8,0,9,10},
{6,0,0,9,10},
{7,0,0,0,0},
{7,0,0,0,0}};
for (int i = 0; i < courses.length; i += 1) {
for (int j = 0; j < courses[i].length + 1; j += 1) {
if ((j + 1) % 6 != 0) {
System.out.print(courses[i][j]);

}
else {
System.out.println();

}
}
}
}
}

B10133049 連于瑄 提到...

package go;

public class FBI {

public static void main(String[] args) {
// 0:空堂,1:資料結構,2:人類活動與地球環境變遷,3:公民社會概論,4:體育,5:密碼學,6:英文,7:導師,8:統計學,9:企業電子化,10:資料庫管理系統
int[][] courses={{0,0,0,6,0},
{0,0,5,6,9},
{0,3,5,7,9},
{0,3,5,7,9},
{1,4,0,8,10},
{1,4,0,8,10},
{1,0,0,8,10},
{2,0,0,0,0},
{2,0,0,0,0}};
for (int i = 0; i < courses.length; i += 1) {
for (int j = 0; j < courses[i].length + 1; j += 1) {
if ((j + 1) % 6 != 0) {
System.out.print(courses[i][j]);

}
else {
System.out.println();

}
}
}
}
}

B10133020 李涵清 提到...

package ab;

public class ex1 {

public static void main(String[] args) {
// 0:空堂,1:英文,2:公民社會概論,3:密碼學,4:導師,5:企業電子化,6:資料結構,7:人類活動與地球環境變化,8:體育,9:統計學,10:資料庫管理系統
int[][] courses={
{0,1,0,0,0},
{0,1,3,0,5},
{0,2,3,4,5},
{0,2,3,4,5},
{6,8,0,9,10},
{6,8,0,9,10},
{6,0,0,9,10},
{7,0,0,0,0},
{7,0,0,0,0}};
for (int i = 0; i < courses.length; i += 1) {
for (int j = 0; j < courses[i].length + 1; j += 1) {
if ((j + 1) % 6 != 0) {
System.out.print(courses[i][j]);

}
else {
System.out.println();

}
}
}
}
}

B10133008許耀文 提到...

// 0=無, 1=資料結構, 2=人類活動與地球環境變遷, 3=公民社會概論, 4=英文, 5=導師, 6=統計學, 7=企業電子化, 8=資料庫管理系統
int[][] courses = {
{0,0,0,4,0,0},
{0,0,0,4,7,0},
{0,3,0,5,7,0},
{0,3,0,5,7,0},
{1,0,0,6,8,0},
{1,0,0,6,8,0},
{1,0,0,6,8,0},
{2,0,0,0,0,0},
{2,0,0,0,0,0}
};
for (int i = 0; i < courses.length; i += 1) {
for (int j = 0; j < courses[i].length + 1; j += 1) {
if ((j + 1) % 7 != 0) {
System.out.print(courses[i][j]);

}
else {
System.out.println();
}
}
}

Related Posts Plugin for WordPress, Blogger...

熱門文章