Computer Science, asked by t4bjerry, 16 hours ago

java script addition program​

Answers

Answered by rajeevkr0074
1

Answer:

const num1 = 5;

const num2 = 3;

// add two numbers

const sum = num1 + num2;

// display the sum

console.log('The sum of ' + num1 + ' and ' + num2 + ' is: ' + sum);

Answered by prasath201198
2

Explanation:

var x=10;

var y=20;

var sum;

sum= x+y;

console.log(sum);

Similar questions