Geography, asked by mansiukunde, 5 months ago

3) Write a javascript program to
accept two numbers and perform
addition of two numbers by using
mouseover event
this is IT subject question 3 lesson ​(computer science)

Answers

Answered by neeraj559145
0

Answer:

The above program asks the user to enter two numbers. Here, prompt() is used to take inputs from the user. parseInt() is used to convert the user input string to number. const num1 = parseInt(prompt('Enter the first number ')); const num2 = parseInt(prompt('Enter the second number '));

Explanation:

hope it would be helpful for u

Similar questions