Saved Bookmarks
| 1. |
Write a program to sum in( javascript) ? |
|
Answer» 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. |
|