Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
HUNSIKLEE committed Aug 31, 2022
1 parent 8180688 commit 23d667e
Show file tree
Hide file tree
Showing 4 changed files with 74 additions and 0 deletions.
14 changes: 14 additions & 0 deletions java-lang/app/src/main/java/Main.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import java.util.Scanner;

public class Main {

public static void main(String[] args) {

Scanner scanner = new Scanner(System.in);

int x = scanner.nextInt();
int y = scanner.nextInt();


}
}
32 changes: 32 additions & 0 deletions java-lang/app/src/main/java/Main2.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
import java.util.Scanner;

public class Main {

public static void main(String[] args) {

Scanner scanner = new Scanner(System.in);

int x = scanner.nextInt();
int y = scanner.nextInt();

if(x > 0) {
if (y > 0) {
System.out.println(1);
}

else {
System.out.println(4);
}
}

else {
if(y > 0) {
System.out.println(2);
}
else {
System.out.println(3);
}

}
}
}
14 changes: 14 additions & 0 deletions testx.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<h1>사진 포함! </h1>
<img width = "400" src="https://www.google.com/imgres?imgurl=https%3A%2F%2Fimages.velog.io%2Fimages%2Fkongsub%2Fpost%2Fcc73a97c-be72-4f64-b5c7-f0dd9d600cad%2Fjava.png&imgrefurl=https%3A%2F%2Fvelog.io%2F%40kongsub%2FJAVA%25EB%259E%2580&tbnid=qo8QYb0NhcqDKM&vet=12ahUKEwimj9WZj_D5AhXMx4sBHagvBssQMygAegUIARDcAQ..i&docid=QlowrAMH_BqM6M&w=1400&h=700&q=java&ved=2ahUKEwimj9WZj_D5AhXMx4sBHagvBssQMygAegUIARDcAQ">
</body>
</html>
14 changes: 14 additions & 0 deletions testy.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<h1>사진 포함! </h1>
<img width = "400" src="https://images.velog.io/images/kongsub/post/cc73a97c-be72-4f64-b5c7-f0dd9d600cad/java.png">
</body>
</html>

0 comments on commit 23d667e

Please sign in to comment.