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