This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//노재경 | |
import java.time.LocalDate; | |
import java.util.Scanner; | |
public class Main { | |
public static void main(String[] args) { | |
int year = 0; | |
int month = 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//노재경 | |
import java.util.Scanner; | |
import java.util.ArrayList; | |
import java.util.List; | |
import java.util.Random; | |
import java.io.InputStreamReader; | |
import java.io.BufferedReader; | |
import java.io.IOException; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// 노재경 | |
import java.util.Scanner; | |
public class Main { | |
public static void main(String[] args) { | |
Scanner scanner = new Scanner(System.in); | |
boolean isOn = true; | |
while (isOn) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//노재경 | |
import java.io.IOException; | |
import java.nio.file.Files; | |
import java.nio.file.Path; | |
import java.nio.file.Paths; | |
import java.util.HashMap; | |
import java.util.List; | |
public class Main { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//노재경 | |
public class Main { | |
private static final int START = 1; // 구구단 시작 단 | |
private static final int END = 9; // 구구단 끝 단 | |
public static void main(String[] args) { | |
System.out.println("[구구단 출력]"); | |
printGugudan(START, END); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Scanner; | |
public class Main { | |
public static void main(String[] args) { | |
boolean flag = true; | |
Scanner scanner = new Scanner(System.in); | |
while (flag) { | |
System.out.println("[캐시백 계산]"); | |
System.out.print("숫자를 입력하세요. (금액): "); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas as pd | |
import re | |
import os | |
import xml.etree.ElementTree as ET | |
from urllib.request import urlopen | |
from tqdm import trange | |
# 디렉토리 생성(없으면) | |
output_dir = '법령별 csv 저장' | |
if not os.path.exists(output_dir): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
노재경 | |
import java.text.NumberFormat; | |
import java.util.Scanner; | |
public class Main { | |
public static void main(String[] args) { | |
final int FREE = 0; | |
final int CHILD_DISCOUNT = 4000; | |
final int SPECIAL_DISCOUNT = 8000; | |
final int FULL_PRICE = 10000; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//노재경 | |
import java.util.Scanner; | |
import java.util.Random; | |
public class Main { | |
public static void main(String[] args) { | |
Scanner scanner = new Scanner(System.in); | |
System.out.println("[주민등록번호 생성]"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//노재경 | |
import java.time.LocalDate; | |
import java.util.InputMismatchException; | |
import java.util.Scanner; | |
public class Main { | |
public static void main(String[] args) { | |
int year = getInput("달력의 년도를 입력해 주세요.(yyyy): ", 0, Integer.MAX_VALUE); |