Write a javascript program to
accept two numbers and perform
addition of two numbers by using
mouseover event
Answers
Answered by
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