Squir3

Untitled

Apr 11th, 2021
664
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html>
  2. <html lang="pl">
  3. <head>
  4.     <meta charset="utf-8">
  5.     <meta http-equiv="X-Ua-Compatible" content="IE=edge,chrome=1">
  6.    
  7. </head>
  8. <body>
  9.  
  10.     <script>
  11.         var tab = [];
  12.                
  13.         for (var i = 0 ; i < 10; i++)
  14.         {
  15.             tab[i] = [];
  16.            
  17.             for (var j = 0; j < 10; j++)
  18.             {
  19.                 tab[i][j] = Math.round(Math.random() * 32) - 20;
  20.             }
  21.         }
  22.        
  23.         document.write('<table border = "1"');
  24.         for (var j = 0; j < 10; j++)
  25.         {
  26.             document.write("<tr>");
  27.             for (var i = 0; i < 10; i++)
  28.                 document.write("<td>"+tab[i][j]+"</td>");
  29.                 document.write("</tr>");
  30.         }
  31.         document.write("</table>");
  32.        
  33.         </script>
  34.  
  35. </body>
  36. </html>
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×