문제 설명
다음과 같이 출력하도록 코드를 작성해 주세요.
출력 예시
!@#$%^&*(\'"<>?:;
나의 풀이
const readline = require('readline');
const rl = readline.createInterface({
input: process.stdin,
output: process.stdout
});
rl.on('close', function () {
console.log('!@#$%^&*(\\\'"<>?:;')
// console.log('\') SyntaxError
});
'코딩 테스트 풀이 🛠' 카테고리의 다른 글
[프로그래머스] 공백으로 구분하기 2 (0) | 2023.07.09 |
---|---|
[프로그래머스] 접미사인지 확인하기 (0) | 2023.07.08 |
[프로그래머스] 푸트 파이트 대회 (0) | 2023.06.19 |
[프로그래머스] 문자열 내 마음대로 정렬하기 (0) | 2023.06.15 |
[프로그래머스] 가장 가까운 같은 글자 (0) | 2023.06.14 |