Advertisement
JakubJaneczek

z6

Nov 27th, 2020
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script>
  2. var l=prompt("Proszę wpisać liczbę:");
  3. if (l>7)
  4. {
  5.     document.write("Liczba większa od 7");
  6. }
  7. else if(l<7)
  8. {
  9.     document.write("Liczba mniejsza od 7");
  10. }
  11. else if(l==7)
  12. {
  13.     document.write("Liczba jest równa 7");
  14. }
  15. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement