Advertisement
Guest User

Untitled

a guest
Dec 5th, 2019
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. <html>
  2. <head>
  3. <script>
  4. let liczba = prompt("Wpisz liczbę");
  5.  
  6. if (liczba > 0) {
  7. document.write("liczba jest dodatnia")
  8. } else if (liczba = 0){
  9. document.write("liczba jest zerem")
  10. } else {
  11. document.write("liczba jest ujemna")
  12.  
  13. }
  14. </script>
  15. </head>
  16. <body>
  17.  
  18. </body>
  19. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement