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 26 commits █▌░░░░░░░░░░░░░░░░░░░ 7.6% | |
🌆 Daytime 150 commits █████████▏░░░░░░░░░░░ 43.6% | |
🌃 Evening 143 commits ████████▋░░░░░░░░░░░░ 41.6% | |
🌙 Night 25 commits █▌░░░░░░░░░░░░░░░░░░░ 7.3% |
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
// 김명지 | |
public class a1 { | |
public static void main(String[] args) { | |
System.out.println("[구구단 출력]"); | |
for (int i = 1; i < 10; i++) { | |
for (int j = 1; j < 10; j++) { | |
System.out.printf("%02d X ", j); | |
System.out.printf("%02d = ", i); | |
System.out.printf("%02d ", j * i); |
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 a2 { | |
public static void main(String[] args) { | |
System.out.println("[캐시백 계산]"); | |
Scanner sc = new Scanner(System.in); | |
System.out.print("결제 금액을 입력해 주세요.(금액):"); |
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 a3 { | |
static final int BASIC_PRICE = 10000; | |
static final int SPECIAL_DISCOUNT_PRICE = 4000; | |
static final int NORMAL_DISCOUNT_PRICE = 8000; | |
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.Random; | |
import java.util.Scanner; | |
public class a4 { | |
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
// 김명지 | |
import java.time.LocalDate; | |
import java.util.ArrayList; | |
import java.util.Scanner; | |
public class a5 { | |
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.ArrayList; | |
import java.util.Random; | |
import java.util.Scanner; | |
public class a6 { | |
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 a7 { | |
public static void main(String[] args) { | |
// 입력받기 | |
System.out.println("[로또 당첨 프로그램]\n"); | |
Scanner sc = 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.Scanner; | |
public class a8 { | |
static final int SIX_PERCENT_AMOUNT = 12 * 1000000; | |
static final int FIFTEEN_PERCENT_AMOUNT = 46 * 1000000; | |
static final int TWENTYFOUR_PERCENT_AMOUNT = 88 * 1000000; | |
static final int THIRTYFIVE_PERCENT_AMOUNT = 150 * 1000000; | |
static final int THIRTYEIGHT_PERCENT_AMOUNT = 300 * 1000000; |
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 28 commits █░░░░░░░░░░░░░░░░░░░░ 4.9% | |
🌆 Daytime 220 commits ████████▏░░░░░░░░░░░░ 38.9% | |
🌃 Evening 264 commits █████████▊░░░░░░░░░░░ 46.6% | |
🌙 Night 54 commits ██░░░░░░░░░░░░░░░░░░░ 9.5% |
OlderNewer