by dheerajrav · 13y ago · 0 comments
process.stdin.on('data', function (input) { numbers = input.split("\n"); sum = parseInt(numbers[0]) + parseInt(numbers[1]) process.stdout.write(sum+"\n"); });
this is a sample code that takes a two digit integer and prints its sum. Can you use this format and see if it works?
No comments yet.