flag 변수 -> flag 변수는 원래는 '깃발'이라는 의미를 가지고 있지만, 프로그래밍에서는 조건에 따라 true혹은 false값을 넣어주는 boolean형 변수입니다. 연습문제 1 백준 2753번 윤년 import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int years = sc.nextInt(); sc.close(); if(years % 4 == 0) { if(years % 400 == 0) {System.out.println("1");} else if(years % 100 == 0){System.out.println("0");}..