Advertisement
LukaszPanko

Skrypt 8

Nov 23rd, 2020
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var a =  Number (prompt("Podaj liczbę: "));
  2.  
  3. if(a%2==0){
  4.     document.write("Liczba: "+a+" jest liczbą parzystą")
  5. }
  6. if(a%2!=0){
  7.     document.write("Liczba: "+a+" nie jest liczbą parzystą")
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement