SHARE
TWEET

java

a guest Nov 13th, 2019 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <! DOCTYPE HTML>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <script type="text/javascript" src="plik.js">
  6. </script>
  7. <title>Pole i obwód koła</title>
  8. </head>
  9. <body>
  10. Podaj promień koła <input id="input" type="text" />
  11. <button onclick="przetwarzanie();" type="button" >Oblicz pole i obwód koła</button><br /><br />
  12. <p id="paragraf1"> </p>
  13. <p id="paragraf2"> </p>
  14. <script>
  15. function przetwarzanie() {
  16. var input1 = document.getElementById("input1");
  17. var p1 = document.getElementById("paragraf1");
  18. var p2 = document.getElementById("paragraf2");
  19. var r = Number (input1.value);
  20.  
  21. var pK = poleK(r);
  22. var oK = obwodK(r);
  23.  
  24. </body>
  25. </html>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top