TIL (22.03.18)
if 문 if else문 if - else 이용해서 효율적으로 처리 가능 다중 if 문 if 여려개 써서 여러가지 조건을 판별 while 문 조건이 참일 경우 계속 실행 복습문제 (구구단) package sec06; import java.util.Scanner; public class 복습문제 { public static void main(String[] args) { Scanner in = new Scanner(System.in); System.out.print("출력하고자 하는 구구단 : "); int row = in.nextInt(); { int column = 1; while (column < 10) { System.out.printf("%d * %d = %2d\n", row, column, ro..
2022.03.18