Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <script>
- let liczba = prompt("Wpisz liczbę");
- if (liczba > 0) {
- document.write("liczba jest dodatnia")
- } else if (liczba = 0){
- document.write("liczba jest zerem")
- } else {
- document.write("liczba jest ujemna")
- }
- </script>
- </head>
- <body>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement