node js exercises Lydia Dali
process.stdin.resume()
process.stdin.setEncoding('utf8')
console.log('How old are you ? ')
process.stdin.on('data', (number) => {
if(number <= 99){
console.log('You were born in' + ' ' +(2018 - number))
}else{
process.exit()
}
})