/* Print the years 1992 to 2012, one per line, listing which ones are presidential, congressional, and local election years. */ #include main() { int year; for (year = 1992; year <= 2012; year = year + 1) { printf("%d: ", year); if (year % 4 == 0) { printf("presidential election year\n"); } else if (year % 4 == 2) { printf("congressional election year\n"); } else { printf("local election year\n"); } } }