Advertisement
tei123

html

May 13th, 2016
301
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.17 KB | None | 0 0
  1. <html>
  2. <head>
  3. <link href="style.css" rel="stylesheef" type="text/css"/>
  4. </head>
  5. <body bgcolor="yellow">
  6. <script>
  7.  
  8. var i;
  9. var b;
  10. var c;
  11. for (i=0;i<11;i++)
  12. {
  13. b = Math.floor(Math.random()*11);
  14. document.write("Liczba: " + b + " ")
  15. }
  16. document.write("<br>")
  17. document.write("<br>")
  18. for (i=0;i<11;i++)
  19. {
  20. b = Math.floor(Math.random()*51);
  21. document.write("Liczba: " + b + " ")
  22. }
  23. document.write("<br>")
  24. document.write("<br>")
  25. for (i=0;i<11;i++)
  26. {
  27. b = Math.floor(Math.random()*101);
  28. document.write("Liczba: " + b + " ")
  29. }
  30. document.write("<br>")
  31. document.write("<br>")
  32. for (i=0;i<11;i++)
  33. {
  34. b = Math.floor(Math.random()*11+10);
  35. document.write("Liczba: " + b + " ")
  36. }
  37.  
  38. document.write("<br>")
  39. document.write("<br>")
  40.  
  41. for (i=0;i<11;i++)
  42. {
  43. b = Math.floor(Math.random()*6+15);
  44. document.write("Liczba: " + b + " ")
  45. }
  46.  
  47. document.write("<br>")
  48. document.write("<br>")
  49.  
  50. for (i=0;i<11;i++)
  51. {
  52. b = Math.floor(Math.random()*21+40);
  53. document.write("Liczba: " + b + " ")
  54. }
  55.  
  56. document.write("<br>")
  57. document.write("<br>")
  58.  
  59. document.write("Losowanie: "+a+"<br>"+"Losowanie do 10: " +b+"<br>"+ "Losowanie do 14: " +c+"<br>"+"Losowanie do 7: " + d)
  60.  
  61. </script>
  62.  
  63. </body>
  64. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement