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 2547c72 commit 2b7611dCopy full SHA for 2b7611d
Challenge/Songmyeongseok/036.Multiplication_Table/README.md
@@ -0,0 +1,10 @@
1
+# 문제36 : 구구단 출력하기
2
+
3
+1~9까지의 숫자 중 하나를 입력하면 그 단의 구구단 결과를 한 줄에 출력하는 프로그램을 작성하세요.
4
5
+```jsx
6
+**입출력**
7
8
+입력 : 2
9
+출력 : 2 4 6 8 10 12 14 16 18
10
+```
Challenge/Songmyeongseok/036.Multiplication_Table/solve.js
@@ -0,0 +1,20 @@
+/*
11
12
+*/
13
14
+function solve(x) {
15
+ let result = ''
16
+ for(let i=1; i<=9; i++){
17
+ result += i*x + ' '
18
+ }
19
+ console.log(result)
20
+}
0 commit comments