ybakun

2021.07.06 Yuliia Bakun

Jul 6th, 2021
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Задача. Сума двох чисел
  2. // https://zero.p2p.shpp.me/tasks/1_3_sum_of_two_numbers.html
  3.  
  4. let firstnum = prompt("Hello, enter first number!", "here");
  5. let secondnum = prompt("Please, enter second number", "here");
  6.     alert ("Great! " + firstnum + " + " + secondnum + " = " +
  7.            (parseInt(firstnum) + parseInt(secondnum)));
  8.  
  9.  
Advertisement
Add Comment
Please, Sign In to add comment