Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="pl-PL">
- <head>
- <title>Tytuł strony</title>
- <meta charset="UTF-8"/>
- <meta name="author" content="Maciej Mirek">
- <link rel="stylesheet" href="style.css" type="text/css" />
- </head>
- <body>
- <script type="text/javascript">
- //var zmienna_1="Liczba PI wynosi: ";
- //var zmienna_2=3.134534534451245623423423423;
- //document.write(zmienna_1+zmienna_2+"..........");
- //var imie=prompt("Witaj! Jak masz na imię?","");
- //document.write("Cześć " + imie + "!");
- var liczba_1=3;
- var liczba_2=5;
- document.write("Liczba 1 ="+liczba_1+"<br>");
- document.write("Liczba 2 ="+liczba_2+"<br>");
- document.write("Suma =" +(liczba_1+liczba_2)+ "<br>");
- document.write("Różnica =" +(liczba_1-liczba_2)+ "<br>");
- document.write("Iloczyn =" +(liczba_1*liczba_2)+ "<br>");
- document.write("Iloraz =" +(liczba_1/liczba_2)+ "<br>");
- document.write("Reszta z dzielenia =" +(liczba_1%liczba_2)+ "<br>");
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement