Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var a = Number (prompt("Podaj liczbę: "));
- if(a%2==0){
- document.write("Liczba: "+a+" jest liczbą parzystą")
- }
- if(a%2!=0){
- document.write("Liczba: "+a+" nie jest liczbą parzystą")
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement