Advertisement
Linda-chan

Использование циклов, пример

Feb 10th, 2012
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.25 KB | None | 0 0
  1. <html>
  2.   <body>
  3.   <p>Использование циклов</p>
  4.  
  5.   <script language="javascript">
  6.     for (var i = 1; i <= 10; i++)
  7.    {
  8.      document.write(i + ", " + i * i + ", " + i * i * i + "<BR>");
  9.     }
  10.   </script>
  11.   </body>
  12. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement