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.HashMap; | |
| public class Mission1_3 { | |
| public static void main(String[] args) { | |
| Pager pager = new Pager(127, 20,5); | |
| for (int i = 1; i <= pager.getPageCount(); i++) { | |
| System.out.println(pager.html(i)); | |
| System.out.println("<br/>"); | |
| } |
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.BufferedReader; | |
| import java.io.IOException; | |
| import java.io.InputStreamReader; | |
| import java.util.ArrayList; | |
| import java.util.HashMap; | |
| import java.util.HashSet; | |
| import java.util.Objects; | |
| public class Mission1_2 { | |
| static BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); |
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.BufferedWriter; | |
| import java.io.File; | |
| import java.io.FileWriter; | |
| import java.io.IOException; | |
| public class Mission1_1 { | |
| public static void main(String[] args) { | |
| JavaEnvironmentInformation jei = new JavaEnvironmentInformation(); | |
| jei.export("index.html"); | |
| } |
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
| /* | |
| * 이태희 | |
| * 과제 8 | |
| * 연소득 과세금액 계산 프로그램 | |
| */ | |
| import java.util.*; | |
| public class Week01MiniExam08 { | |
| // 연소득 |
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
| /* | |
| * 이태희 | |
| * 과제 7 | |
| * 로또 당첨 프로그램 | |
| */ | |
| import java.util.*; | |
| import java.util.stream.Collectors; | |
| import java.util.stream.IntStream; |
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
| /* | |
| * 이태희 | |
| * 과제 6 | |
| * 가상 선거 및 당선 시뮬레이션 프로그램 | |
| */ | |
| import java.util.*; | |
| import java.util.stream.IntStream; | |
| public class Week01MiniExam06 { |
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
| /* | |
| * 이태희 | |
| * 과제 5 | |
| * 달력 출력 프로그램 | |
| */ | |
| import java.time.LocalDate; | |
| import java.util.Scanner; | |
| import java.util.stream.IntStream; |
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
| /* | |
| * 이태희 | |
| * 과제 4 | |
| * 주민등록번호 생성 프로그램 | |
| */ | |
| import java.util.Calendar; | |
| import java.util.Random; | |
| import java.util.Scanner; |
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
| /* | |
| * 이태희 | |
| * 과제 3 | |
| * 놀이동산 입장권 계산 프로그램 | |
| */ | |
| import java.util.HashMap; | |
| import java.util.Scanner; | |
| public class Week01MiniExam03 { |
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
| /* | |
| * 이태희 | |
| * 과제 2 | |
| * 결제 금액 캐시백 계산 프로그램 | |
| */ | |
| import java.util.InputMismatchException; | |
| import java.util.Scanner; | |
| public class Week01MiniExam02 { |
NewerOlder