프로그래머스 Lv.1 : 직사각형 별찍기

zeroequaltwo·2022년 11월 17일
0

코딩테스트

목록 보기
27/69

문제

프로그래머스 문제

내 풀이

process.stdin.setEncoding('utf8');
process.stdin.on('data', data => {
    const n = data.split(" ");
    const a = Number(n[0]), b = Number(n[1]);

    console.log(("*".repeat(a) + "\n").repeat(b)) ;
});
profile
나로 인해 0=2가 성립한다.

0개의 댓글