[Java] 정올기초다지기 배열2-자가진단04
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 package 배열2.자가진단04; public class Main { public static void main(String[] args) { int [][] arr = { {5,8,10,6,4}, {11,20,1,13,2}, {7,9,14,22,3} }; for(int i=0;i
더보기
[JAVA] 정올기초다지기 배열2-자가진단01
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 package 배열2.자가진단01; import java.util.Scanner; public class Main { public static void main(String[] args) { String arr [] = {"A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"}; int [] out = new int [arr.length]; String in = ""; int cnt =0; ..
더보기