![](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2Fw0seH%2FbtshbeHjo9l%2FmmaCe2byMvnuGkHbKM5Fl1%2Fimg.png)
조건문 이번 강의 내용은 조건문과 반복문에 대한 것이었다. package chap_04; public class _01_If { public static void main(String[] args) { // 조건문 If int hour = 10; // 오전 10시 // If 문 내에서 두개 이상의 문장을 실행할 때는 {} 사용 ! if (hour < 14) { System.out.println("아이스 아메리카노 +1"); System.out.println("샷 추가"); } System.out.println("커피 주문 완료 #1"); // 오후 2시 이전, 모닝 커피를 마시지 않은 경우 ? hour = 10; boolean morningCoffee = false; // 모닝 커피 x // if (ho..