Skip to content

Solve: 036 문제 해결 #208

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions Challenge/JisuKim/036.Multiplication_Table/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# 문제36 : 구구단 출력하기

1~9까지의 숫자 중 하나를 입력하면 그 단의 구구단 결과를 한 줄에 출력하는 프로그램을 작성하세요.

```jsx
**입출력**

입력 : 2
출력 : 2 4 6 8 10 12 14 16 18
```
20 changes: 20 additions & 0 deletions Challenge/JisuKim/036.Multiplication_Table/solve.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/*
# 문제36 : 구구단 출력하기

1~9까지의 숫자 중 하나를 입력하면 그 단의 구구단 결과를 한 줄에 출력하는 프로그램을 작성하세요.

```jsx
**입출력**

입력 : 2
출력 : 2 4 6 8 10 12 14 16 18
```
*/

function 구구단(숫자) {
for(let i = 1; i < 10; i++) {
console.log(숫자 * i)
}
}

구구단(2)