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 Main { | |
| public static List<Integer> cordMaker (Scanner sc) { | |
| int x; | |
| int y; | |
| try { |
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
| // 양성혁 | |
| class Pager { | |
| long totalCount; | |
| int postCount; | |
| int pageBlock; | |
| public Pager(long totalCount, int postCount, int pageBlock) { | |
| this.totalCount = totalCount; | |
| this.postCount = postCount; |
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 Main { | |
| public static List<Integer> cordMaker (Scanner sc) { | |
| int x; | |
| int y; | |
| try { |
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 Main { | |
| 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; | |
| public class Main { | |
| public static void main(String[] args) { | |
| System.out.println("[과세금액 계산 프로그램]"); | |
| Scanner sc = new Scanner(System.in); | |
| System.out.print("연소득을 입력해 주세요.:"); |
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 Main { | |
| public static void main(String[] args) { | |
| Scanner sc = 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.*; | |
| public class Main { | |
| public static void main(String[] args) { | |
| Scanner sc = new Scanner(System.in); | |
| System.out.print("총 진행할 투표수를 입력하세요."); | |
| int voteCountTotal = sc.nextInt(); |
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 Main { | |
| public static void main(String[] args) { | |
| Scanner sc = new Scanner(System.in); | |
| System.out.print("달력의 년도를 입력해 주세요.(yyyy): "); |
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.Random; | |
| import java.util.Scanner; | |
| public class Main { | |
| 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.util.Objects; | |
| import java.util.Scanner; | |
| public class Main { | |
| public static void main(String[] args) { | |
| System.out.println("[입장권 계산]"); | |
| Scanner sc = new Scanner(System.in); |
NewerOlder