Markdown은 텍스트 기반의 마크업언어로 2004년 존그루버에 의해 만들어졌으며 쉽게 쓰고 읽을 수 있으며 HTML로 변환이 가능하다. 특수기호와 문자를 이용한 매우 간단한 구조의 문법을 사용하여 웹에서도 보다 빠르게 컨텐츠를 작성하고 보다 직관적으로 인식할 수 있다. 마크다운이 최근 각광받기 시작한 이유는 깃헙(https://github.com) 덕분이다. 깃헙의 저장소Repository에 관한 정보를 기록하는 README.md는 깃헙을 사용하는 사람이라면 누구나 가장 먼저 접하게 되는 마크다운 문서였다. 마크다운을 통해서 설치방법, 소스코드 설명, 이슈 등을 간단하게 기록하고 가독성을 높일 수 있다는 강점이 부각되면서 점점 여러 곳으로 퍼져가게 된다.
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
/* | |
김정훈 | |
2023-06-01 | 구구단 출력에 다중 반복문 사용, format 함수 사용, 제목 및 1단부터 9단까지를 표시하였습니다. | |
*/ | |
public class JavaStudy01 { | |
public static void main(String[] args) { | |
System.out.println("[구구단 출력]"); | |
for (int i=1; i<=9; 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
/* | |
김정훈 | |
2023-06-01 | 입력 값을 여러번 받도록 while문을 사용하였고, 입력된 값을 정규식으로 필터링을 할 수 있도록 예외 처리를 추가하였습니다. | |
*/ | |
import java.util.Scanner; | |
public class JavaStudy02 { | |
public static void main(String[] args) { | |
while(true) | |
{ |
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
/* | |
김정훈 | |
2023-06-01 | 조건문 순서를 가장 큰 금액으로 할인받을 수 있는 순서로 배치하였습니다. | |
*/ | |
import java.util.Scanner; | |
public class JavaStudy03 { | |
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
/* | |
김정훈 | |
2023-06-02 | 주민등록번호 생성 프로그램 | |
*/ | |
import java.util.Random; | |
import java.util.Scanner; | |
public class JavaStudy04 { | |
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
/* | |
김정훈 | |
2023-06-02 | 달력 출력 프로그램 | |
*/ | |
import java.time.LocalDate; | |
import java.util.Scanner; | |
public class JavaStudy05 { | |
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
/* | |
김정훈 | |
2023-06-02 | 가상 선거 및 당선 시뮬레이션 프로그램 | |
*/ | |
import java.util.Random; | |
import java.util.Scanner; | |
public class JavaStudy06 { | |
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
/* | |
김정훈 | |
2023-06-03 | 로또 당첨 프로그램 | |
*/ | |
import java.util.*; | |
public class JavaStudy07 { | |
public static void main(String[] args) { | |
System.out.println("[로또 당첨 프로그램]\n"); |
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
/* | |
김정훈 | |
2023-06-04 | 과세금액 계산 프로그램 | |
*/ | |
import java.math.BigDecimal; | |
import java.util.Scanner; | |
public class JavaStudy08 { | |
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.Collections; | |
import java.util.ArrayList; | |
import java.util.List; | |
class Solution { | |
public String solution(String[] participant, String[] completion) { | |
String answer = ""; | |
ArrayList<String> participantList = new ArrayList<>(List.of(participant)); | |
ArrayList<String> completionList = new ArrayList<>(List.of(completion)); |
OlderNewer