Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="text/javascript">
- var a = prompt("podaj pierwszą liczbę: ");
- var b =prompt("podaj drugą liczbę: ");
- if (a>b)
- document.write("Liczba " + a +" jest wieksza od liczby " +b);
- else if (a == b)
- document.write("Liczby " + a +" i "+b+" są równe");
- else
- document.write("Liczba" + b +" jest wieksza od liczby " +a);
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement