Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- var a=7;
- var b=8;
- document.write("Pierwsza liczba to: "+a+"<br>");
- document.write("Druga liczba to: "+b+"<br>");
- if(a>b)
- {
- document.write("Liczba "+a+" jest większa");
- }
- else if(a==b)
- {
- document.write("Liczby sa rowne");
- }
- else if(a<b)
- {
- document.write("Liczba "+b+" jest większa");
- }
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement