We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7961396 commit 9e19ed3Copy full SHA for 9e19ed3
Challenge/JisuKim/019.square/README.md
@@ -0,0 +1,3 @@
1
+문제19 : 제곱을 구하자
2
+
3
+공백으로 구분하여 두 숫자 a와 b가 주어지면, a의 b승을 구하는 프로그램을 작성하세요.
Challenge/JisuKim/019.square/solve.js
@@ -0,0 +1,8 @@
+// 문제19 : 제곱을 구하자
+// 공백으로 구분하여 두 숫자 a와 b가 주어지면, a의 b승을 구하는 프로그램을 작성하세요.
4
5
+const num = prompt('두 숫자 입력');
6
+const arr = num.split(' ');
7
8
+parseInt(arr[0])**(parseInt(arr[1]))
0 commit comments