int a = 0; for (int i = 1; i < 999; i++) { if (i % 3 == 0 && i % 2 != 0) a = i; } System.out.print(a);
나만의 풀이, 암기법을 나눠 보세요. 정답이 포함될 수 있어요.