BOJ | #10926 "??!"

블로그 이사 완료·2022년 9월 18일
0
post-thumbnail

문제


Code

const fs = require("fs");
const filePath = process.platform === 'linux' ? '/dev/stdin' : '.input.txt';
let input = fs.readFileSync(filePath).toString().trim();

console.log(`${input}??!`);

Review

백틱(`) 기호와 ${변수} 를 사용 해서 문자열과 변수를 같이 출력하는 문제였다.


profile
https://kyledev.tistory.com/

0개의 댓글