Skip to content

Commit cbdd590

Browse files
committed
[BOJ] 사분면 고르기 / 브론즈5 / 5분(O)
1 parent b8162f5 commit cbdd590

File tree

1 file changed

+12
-0
lines changed
  • learntosurf/Baekjoon/2_조건문/.cph

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# 내 풀이
2+
x = int(input())
3+
y = int(input())
4+
5+
if x > 0 and y > 0 :
6+
print('1')
7+
elif x < 0 and y > 0 :
8+
print('2')
9+
elif x < 0 and y < 0 :
10+
print('3')
11+
else:
12+
print('4')

0 commit comments

Comments
 (0)