반응형
public class Main {

	public static void main(String[] args) {

		int lowNum = 1;

		int i = 1;

		while (i <= 20) {

			if (lowNum % i == 0) {

				i++;

			} else {

				i = 1;
				lowNum++;

			}

		}

		System.out.print(lowNum);

	}

}
반응형

+ Recent posts