-
-
Save opr/d4fe1bc77f417e6ac32afcc66b325ffe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rl.on('line', (input) => { | |
let splitDimensions = input.split('x'); | |
console.log( 'Surface area of', input, 'is', calculateSurfaceArea(splitDimensions), 'Volume is', calculateVolume(splitDimensions) ); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment