Advertisement
PiotrSzewczyk

Zadanie 8/JS

Nov 23rd, 2020
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var liczba = prompt("Podaj liczbÄ™:");
  2. if (liczba%2==0)
  3. {
  4.     document.write("Liczba jest parzysta");
  5. }
  6. else
  7. {
  8.     document.write("Liczba jest nieparzysta");
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement