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.ArrayList; | |
| import java.util.Arrays; | |
| import java.util.Random; | |
| import java.util.Scanner; | |
| public class Taxation { // 서주한 | |
| public static long[] getAmount(long value) { |
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.*; | |
| public class Lotto { | |
| public static void main(String[] args) { | |
| System.out.print("[로또 당첨 프로그램]"); | |
| System.out.print("\n\n"); |
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 Calendar { // 서주한 | |
| public static void makeCalender(int year, int month) { | |
| int date = 1; | |
| int day; |
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.Random; | |
| import java.util.Scanner; | |
| public class resident_registration_number { // 서주한 | |
| public static String create주민등록번호(int 출생년도, int 출생월, int 출생일, String 성별) { | |
| int min = 111111; | |
| int max = 999999; |
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 amusementpark { // 서주한 | |
| public static void main(String[] args) { | |
| Scanner AmusementPark = new Scanner(System.in); | |
| System.out.print("\n"); | |
| 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.util.Scanner; | |
| public class CashBack { // 서주한 | |
| public static void main(String[] args) { | |
| Scanner cashBack = new Scanner(System.in); | |
| System.out.println("[캐시백 계산]"); | |
| 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
| public class GuGuDan { | |
| public static void main(String[] args) { // 서주한 | |
| System.out.println("[구구단 출력]"); | |
| for (int i = 1; i <= 9; i ++){ | |
| for (int j = 1; j <= 9; j ++){ | |
| System.out.print(String.format("%02d",j) + " x " + | |
| String.format("%02d",i) + " = " + String.format("%02d",(j * i)) + " "); | |
| } | |
| System.out.println(); |