-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.js
27 lines (25 loc) · 1.3 KB
/
main.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
const readline = require('readline').createInterface({
input: process.stdin,
output: process.stdout
});
console.log(" __________________");
console.log(" \\ \\");
console.log(" \\ \\");
console.log(" \\ \\");
console.log(" \\ \\");
console.log(" \\ \\");
console.log(" \\ \\");
console.log(" /---------------//---------------------");
console.log(" /---------------// / |");
console.log(" / // /__|");
console.log(" / // / |");
console.log(" /_______________// o o / |");
console.log(" /------------------------------------/ |");
console.log(" | | |");
console.log(" | | |");
console.log(" | | |");
console.log(" |------------------------------------| |");
readline.question('1-5: ', input => {
console.log(`For you, recycle bin is ${input} out of 5!`);
readline.close();
});