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
| /* | |
| * 작성자: 함지희 | |
| * 백엔드 스쿨 1주차 미니과제 1번 | |
| * */ | |
| public class Q1_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 x %02d = %02d\t", j, i, j * i)); |
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; | |
| /* | |
| * 작성자: 함지희 | |
| * 백엔드 스쿨 1주차 미니과제 2번 | |
| * */ | |
| public class Q2_Cashback { | |
| public static void main(String[] args) { | |
| System.out.println("[캐시백 계산]"); | |
| Scanner in = new Scanner(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.util.Scanner; | |
| /* | |
| * 작성자: 함지희 | |
| * 백엔드 스쿨 1주차 미니과제 3번 | |
| * */ | |
| public class Q3_Ticket { | |
| public static void main(String[] args) { | |
| System.out.println("[입장권 계산]"); | |
| int ticketPrice = 10000; |
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; | |
| /* | |
| * 작성자: 함지희 | |
| * 백엔드 스쿨 1주차 미니과제 4번 | |
| * */ | |
| public class Q4_RRN { | |
| public static void main(String[] args) { | |
| 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.time.LocalDate; | |
| import java.util.Scanner; | |
| /* | |
| * 작성자: 함지희 | |
| * 백엔드 스쿨 1주차 미니과제 5번 | |
| * */ | |
| public class Q5_Calendar { | |
| public static void main(String[] args) { | |
| // 입력 받기 |
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; | |
| /* | |
| * 작성자: 함지희 | |
| * 백엔드 스쿨 1주차 미니과제 6번 | |
| * */ | |
| public class Q6_ElectionSimulator { | |
| public static void main(String[] args) { | |
| int voteNum = 10000; | |
| String[] names = {"이재명", "윤석열", "심상정", "안철수"}; |
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.Arrays; | |
| import java.util.Random; | |
| import java.util.Scanner; | |
| /* | |
| * 작성자: 함지희 | |
| * 백엔드 스쿨 1주차 미니과제 7번 | |
| * */ | |
| public class Q7_Lotto { | |
| public static void main(String[] args) { |
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; | |
| /* | |
| * 작성자: 함지희 | |
| * 백엔드 스쿨 1주차 미니과제 8번 | |
| * */ | |
| public class Q8_Tax { | |
| public static void main(String[] args) { | |
| System.out.println("[과세금액 계산 프로그램]"); | |
| Scanner in = new Scanner(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.*; | |
| import java.util.StringJoiner; | |
| /* | |
| * 작성자: 함지희 | |
| * 백엔드 스쿨 Mission1 깜짝과제 1번 | |
| * */ | |
| public class JavaEnvHtml { | |
| public static void main(String[] args) { | |
| String 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
| import java.util.ArrayList; | |
| import java.util.Scanner; | |
| /* | |
| * 작성자: 함지희 | |
| * 백엔드 스쿨 Mission1 깜짝과제 2번 | |
| * */ | |
| public class NearCoordinate { | |
| public static void main(String[] args) { | |
| Scanner in = new Scanner(System.in); |
OlderNewer