OneCompiler

Homework-10/3/24

1629

const num1 = (prompt("Enter the first number:"));
const num2 = (prompt("Enter the second number:"));

const sum = Number(num1) + Number(num2);
console.log("The sum of num1 and num2 is: "+(sum))