We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6380c68 commit 69eeaecCopy full SHA for 69eeaec
1 file changed
정건우/8주차/260218.java
@@ -0,0 +1,20 @@
1
+import java.util.Scanner;
2
+
3
+public class BOJ_B4_27332_November {
4
5
+ public static void main(String[] args) {
6
+ Scanner scann = new Scanner(System.in);
7
8
+ int A = scann.nextInt();
9
+ int B = scann.nextInt();
10
+ int sum = A+B*7;
11
12
+ if(sum <= 30) {
13
+ System.out.println(1);
14
+ } else {
15
+ System.out.println(0);
16
+ }
17
18
19
20
+}
0 commit comments