1// store input numbers
2const num1 = parseInt(prompt('Enter the first number '));
3const num2 = parseInt(prompt('Enter the second number '));
4
5//add two numbers
6const sum = num1 + num2;
7
8// display the sum
9console.log(`The sum of ${num1} and ${num2} is ${sum}`);