Computer Science, asked by shamschimaokar, 4 months ago

Write a javascript program to
accept two numbers and perform
addition of two numbers by using
mouseover event​

Answers

Answered by sarveshcpr
8

Explanation:

const num1 = parseInt(prompt('Enter the first number ')); const num2 = parseInt(prompt('Enter the second number ')); Then, the sum of the numbers is computed. const sum = num1 + num2; Finally, the sum is displayed.

Similar questions