wiktormadera

Zad8JS

Nov 27th, 2020
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const liczba = Number(prompt('Podaj liczbÄ™', 0))
  2.  
  3. if(liczba % 2 === 0) document.write(`Liczba ${liczba} jest parzysta`)
  4. else document.write(`Liczba ${liczba} jest nieparzysta`)
Advertisement
Add Comment
Please, Sign In to add comment