This file contains 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 { | |
private static final int[] rates = {6, 15, 24, 35, 38, 40, 42, 45}; | |
private static final int[] standards = {0, 12_000_000, 46_000_000, 88_000_000, 150_000_000, 300_000_000, 500_000_000, 1_000_000_000}; | |
private static final int[] deductibles = {0, 1_080_000, 5_220_000, 14_900_000, 19_400_000, 25_400_000, 35_400_000, 65_400_000}; | |
public static void main(String[] args) { |
This file contains 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.Arrays; | |
import java.util.Random; | |
import java.util.Scanner; | |
public class Main { | |
public static void main(String[] args) { |
This file contains 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.*; | |
public class Main { | |
public static void main(String[] args) { | |
run(10000); | |
} | |
public static void run(int end){ // end 최대값 |
This file contains 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.Calendar; | |
import java.util.Scanner; | |
public class Main { | |
public static void main(String[] args) { | |
System.out.println("[달력 출력 프로그램]"); | |
Scanner input = new Scanner(System.in); |
This file contains 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.*; | |
public class Main { | |
public static void main(String[] args) { | |
Scanner input = new Scanner(System.in); | |
int year =input_int("출생년도를 입력해 주세요.(yyyy):",input,1975,2100); | |
int month=input_int("출생월을 입력해 주세요.(mm):",input,1,12); |
This file contains 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.*; | |
public class Main { | |
public static void main(String[] args) { | |
Scanner input = new Scanner(System.in); | |
System.out.println("[입장권 계산]"); |
This file contains 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
/* | |
작성자: 고지민 | |
*/ | |
//cashback | |
//code with oracle openjdk 1.8 | |
import java.util.*; | |
public class Main { | |
public static void main(String[] args) { | |
System.out.println("[캐시백 계산]"); |
This file contains 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
/* | |
작성자: 고지민 | |
*/ | |
//구구단 | |
//with oracle open jdk 1.8 | |
public class Main { | |
public static void main(String[] args){ | |
System.out.println("[구구단 출력]"); | |
for(int i=1;i<=9;i++){ | |
for(int j=1;j<=9;j++){ |
This file contains 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
🌞 Morning 98 commits ███▎░░░░░░░░░░░░░░░░░ 15.9% | |
🌆 Daytime 210 commits ███████▏░░░░░░░░░░░░░ 34.1% | |
🌃 Evening 122 commits ████▏░░░░░░░░░░░░░░░░ 19.8% | |
🌙 Night 186 commits ██████▎░░░░░░░░░░░░░░ 30.2% |