if조건문 if(조건){ 조건이 참인경우 실행할 명령들... } else { 조건이 거짓인경우 실행할 명령들... } if(조건1){ 조건1이 참인경우 실행할 명령들... } else if(조건2) { 조건2가 참인경우 실행할 명령들... } else{ 모든 조건이 거짓인 경우 실행할 명령들... } 실행할 명령이 1줄이면 {} 생략가능 // 긁지않은 개발자 public class Ex01 { public static void main(String[] args) { int num=1; Scanner sc = new Scanner(System.in); while(num!=0) { System.out.print("0~255사이의 정수를 입력하세요(0은 종료)"); num = sc.nextInt(); if(n..