목록java/2차원 배열 (2)
June is Combung
package week4; import java.util.Scanner; class Ex03 { String[][] game = new String[3][3]; int turn = 0; int win = 0; } public class TicTakTok { public static void main(String[] args) { Scanner scan = new Scanner(System.in); Ex03 e = new Ex03(); for (int i = 0; i < e.game.length; i++) { for (int j = 0; j < e.game[i].length; j++) { e.game[i][j] = "[ ]"; } } while (true) { for (int i = 0; i < e.gam..
package week4; public class Day16_1 { public static void main(String[] args) { String[][] student = { { "aaa", "신촌", "1001" }, { "bbb", "강남", "1002" }, { "ccc", "대치", "1003" }, { "ddd", "강동", "1004" } }; String[][] score = { { "1001", "10", "20", "30" }, { "1002", "10", "60", "60" }, { "1003", "23", "63", "31" }, { "1004", "45", "30", "35" }, }; // 학생 정보와 성적이 담긴 데이터 이다 // student ==> 1.id 2.주소 3..