Skip to content

Commit

Permalink
Merge pull request #17 from AlgoLeadMe/4-honggukang0623
Browse files Browse the repository at this point in the history
4-honggukang0623
  • Loading branch information
Ghdrn1399 authored May 10, 2024
2 parents f899cda + a6ba11e commit 79f09ec
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
1 change: 1 addition & 0 deletions honggukang0623/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
|:----:|:---------:|:----:|:-----:|:----:|
| 1์ฐจ์‹œ | 2024.03.26 | ์‚ฌ์น™์—ฐ์‚ฐ |[๋ถ„์ˆ˜์˜๋ง์…ˆ]https://school.programmers.co.kr/learn/courses/30/lessons/120808 | [#5]https://github.com/AlgoLeadMe/AlgoLeadMe-10/pull/5 |
| 2์ฐจ์‹œ | 2024.03.29 | ๋ฐฐ์—ด |[๋ฐฐ์—ด๋‘๋ฐฐ๋งŒ๋“ค๊ธฐ]https://school.programmers.co.kr/learn/courses/30/lessons/120809 | [#7]https://github.com/AlgoLeadMe/AlgoLeadMe-10/pull/7 |
| 3์ฐจ์‹œ | 2024.04.05 | ๋ฐฐ์—ด |[์ค‘์•™๊ฐ’๊ตฌํ•˜๊ธฐ]https://school.programmers.co.kr/learn/courses/30/lessons/120811# | [#13]https://github.com/AlgoLeadMe/AlgoLeadMe-10/pull/13 |
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
const readline = require('readline');
const rl = readline.createInterface({
input: process.stdin,
output: process.stdout
});

let input = [];

rl.on('line', function (line) {
input = line.split(' ');
}).on('close', function () {
const n = Number(input[0]);

let line = 1;
while(line <= n){

let starStr = "";
let cnt = 0;
while(cnt < line){
starStr = starStr+"*"
cnt = cnt + 1;
}

console.log(starStr)
line = line + 1;
}
});

0 comments on commit 79f09ec

Please sign in to comment.