자바 반복문 - while문 문법 1234while(조건식){ // 조건식의 연산결과가 true 일 때 수행될 문장}Colored by Color Scriptercs 예제 123456789public class WhileTest_01{ public static void main(String[] args) { int i =10; while(i>0) System.out.println(i--); }}Colored by Color Scriptercs 12345678910111213141516171819// while 이용 구구단public class WhileTest_02{ public static void main(String[] args) { int i=2; while(i 코딩/Java 9년 전