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 JavaStudy05 { | |
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.Random; | |
import java.util.Scanner; | |
public class JavaStudy04 { | |
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 JavaStudy03 { | |
public static void main(String[] args) { | |
Scanner scanner = 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
/* | |
정지우 | |
*/ | |
public class JavaStudy02 { | |
public static void main(String[] args) { | |
Scanner inPut=new Scanner(System.in); | |
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.Scanner; | |
public class JavaStudy01 { | |
public static void main(String[] args) { | |
for (int i = 1; i <= 9; i++) { | |
for (int j = 1; j <= 9; j++) { | |
System.out.print(j + " * " + i + " = " + String.format("%2d", i * j)); |