for (int x=0; x<=10; x++){ for (int y=0; y<=10; y++){ if(((2*x)+(4*y))==10){ System.out.println("x = "+x+", y = "+y); } } }
댓글 없음:
댓글 쓰기