🐼백앤드/Java 문법
04_09 구구단
계란소년
2023. 7. 5. 23:34
public class _09_MultipleTable {
public static void main(String[] args) {
//구구단
for (int i=2;i<10;i++){
for (int j=2;j<10;j++) {
System.out.println(i + "x" + j + "=" + (i * j)); //2*1 = 2
}
System.out.println();
}
}
}