studyplan

자바의 정석 연습문제 / 4-12 구구단 출력하기 // 본문

자바정리/자바의 정석

자바의 정석 연습문제 / 4-12 구구단 출력하기 //

무한머니 2022. 7. 10. 18:46

 

package jogun;

public class IfWhile4_12 {

    public static void main(String[] args) {
        for (int i = 2; i <10 ; i++) {
            for (int j = 1; j <4 ; j++) {
                System.out.printf("%d * %d = %d\n",i,j,i*j);
            }
            System.out.println("==========");
        }



    }

}






 

Comments