구구단 ( 이중 for 구문 ) 아래 로 출력 public static void main ( String [ ] args ) { for ( int i = 2 ; i < 10 ; i ++) { for ( int j = 1 ; j < 10 ; j ++) { System . out . println ( i +"*"+ j +"="+( i * j ) ) ; } System . out . println ( ) ; } 123456789101112131415 public static void main ( String [ ] args ) { for ( int i = 2 ; i < 10 ; i ++) { for ( int j = 1 ; j < 10 ; j ++) { System . out . println ( i +"*"+ j +"="+( i * j ) ) ; } System . out . println ( ) ; } Colored by Color Scriptercs 구구단 ( 이중 for 구문 ) 옆 으로 출력 public static void main ( String [ ] args ) { for ( int i = 1 ; i < 10 ; i ++) { for ( int j = 2 ; j < 10 ; j ++) { System . out . print ( j +"*"+ i +"="+( i * j ) +"\ t "); } System . out . println ( ) ; } 12345678910111213141516 public static void main ( String [ ] args ) { for ( int i = 1 ; i < 10 ; i ++) { for ( int j = 2 ; j < 10 ; j ++) { System . out . print ( j +"*"+ i +"="+( i * j ) +"\ t "); } System . out . println ( ) ; } Colored by Color Scriptercs 1234567891011121314151617 package chap ; import java . util . *; public class chap { public static void main ( String [ ] args ) { / / 곱셈표 System . out . println ( "=== 곱셈표 ==="); for ( int i = 1 ; i <= 9 ; i ++) { for ( int j = 1 ; j <= 9 ; j ++) System . out . printf ( "% 3 d ", i * j ) ; System . out . println ( ) ; } }} Colored by Color Scriptercs