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 63 commits █▉░░░░░░░░░░░░░░░░░░░ 9.0% | |
🌆 Daytime 174 commits █████▏░░░░░░░░░░░░░░░ 24.9% | |
🌃 Evening 275 commits ████████▎░░░░░░░░░░░░ 39.3% | |
🌙 Night 187 commits █████▌░░░░░░░░░░░░░░░ 26.8% |
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
. |
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
/* | |
* 김소은 | |
* 과제1. 콘솔 화면에 구구단 출력하기 | |
*/ | |
public class Test1 { | |
public static void main(String[] args) { | |
System.out.println("[구구단 출력]"); | |
StringBuilder multiplicationTable = new StringBuilder(); |
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
/* | |
* 김소은 | |
* 과제2. 결제 금액 캐시백 계산 프로그램 | |
* | |
* 캐시백과 관련된 상수, 함수를 묶어 클래스를 만들었습니다. | |
* 입력값이 잘못됐으면 재입력할 수 있도록 구현하였습니다. | |
*/ | |
import java.util.InputMismatchException; | |
import java.util.Scanner; |
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
/* | |
* 김소은 | |
* 과제3. 놀이동산 입장권 계산 프로그램 | |
* | |
* 입장권과 관련된 상수, 변수, 함수를 묶어 클래스를 만들었습니다. | |
* 입력값이 잘못됐으면 재입력할 수 있도록 구현하였습니다. | |
*/ | |
import java.util.InputMismatchException; | |
import java.util.Scanner; |
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
/* | |
* 김소은 | |
* 과제4. 주민등록번호 생성 프로그램 | |
* | |
* 주민등록과 관련된 변수, 함수를 묶어 클래스를 만들었습니다. | |
* 주민등록번호 생성 가능한 날짜는 1900년 1월 1일부터 프로그램을 실행하는 당일까지 가능하도록 구현하였습니다. | |
* 입력값이 잘못됐으면 재입력할 수 있도록 구현하였습니다. | |
*/ | |
import java.time.LocalDate; |
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
/* | |
* 김소은 | |
* 과제5. 달력 출력 프로그램 | |
* | |
* 달력과 관련된 상수, 함수를 묶어 클래스를 만들었습니다. | |
* 입력값이 잘못됐으면 재입력할 수 있도록 구현하였습니다. | |
*/ | |
import java.time.LocalDate; | |
import java.util.InputMismatchException; |
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
/* | |
* 김소은 | |
* 과제6. 가상 대선 당선 시뮬레이션 프로그램 | |
* | |
* 대선과 관련된 상수, 변수, 함수를 묶어 PresidentialElection 클래스를 만들었습니다. | |
* PresidentialElection 클래스의 내부 클래스로 후보자와 관련된 변수, 함수를 담는 Candidate 클래스를 만들었습니다. | |
*/ | |
import java.util.ArrayList; | |
import java.util.Collections; |
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
/* | |
* 김소은 | |
* 과제7. 로또 당첨 프로그램 | |
* | |
* 6개의 로또 번호와 관련된 변수, 함수를 묶어 클래스를 만들었습니다. | |
* 입력값이 잘못됐으면 재입력할 수 있도록 구현하였습니다. | |
*/ | |
import java.util.ArrayList; | |
import java.util.HashSet; |
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
/* | |
* 김소은 | |
* 과제8. 연소득 과세금액 계산 프로그램 | |
* | |
* 과세계산과 관련된 변수, 함수를 묶어 Taxation 클래스와 단계별 과세 정보를 담는 TaxationSection 클래스를 만들었습니다. | |
* 각 클래스는 메소드만 호출할 수 있도록 하여 캡슐화했습니다. | |
* 입력값이 잘못됐으면 재입력할 수 있도록 구현하였습니다. | |
*/ | |
import java.util.InputMismatchException; |