MarcinKrol

Zad 5 - JS

Nov 24th, 2020 (edited)
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. const number1 = prompt("Podaj pierwszÄ… liczbe ") * 1;
  2. const number2 = prompt ("Podaj druga liczbe: ") * 1;
  3.  
  4. console.log(number1 + number2);
  5.  
  6.  
  7. document.write(`Suma liczb a: ${number1} i b: ${number2} wynosi: ${number1 + number2}`);
Advertisement
Add Comment
Please, Sign In to add comment