day06_FlowEx18

육희영·2021년 9월 13일
0

배열 크기 구하기(5x5)

package day06;

public class FlowEx18 {

	public static void main(String[] args) {
		for(int i=1; i<=5; i++){
			for(int j=1; j<=5; j++){
				System.out.printf("[%d, %d]", i, j);
			}System.out.println();
		}
	} //main End

} //class End

출력결과

0개의 댓글

관련 채용 정보