Posted by : jody baharizki Thursday, September 29, 2011

   *               * 
     *         *    
        *   *       
 
       *   *       
     *         *    
  *               * 
 
 
nah ini yang tutorial ke dua teman-teman
setelah kita bikin diamond, sekarang kta coba bikin silang ya
langsung aja deh d coba coddingnya
NB : kalo mau coppas gapapa tapi yang pentng ilmunya ya :) 
 
<html>
<head>
<title>beckzinfo</title>
</head>
<body>
<script type="text/javascript">
var x = 5;
var i = 2;
var y = 2;
for(i = 1 ; i <= x+1 ; i ++){
for(y = 1 ; y <= x + 1; y ++)
{
if(( i == y ) || (y == x + 2 - i )){
document.write("&nbsp; * ");
}
else
{
document.write("&nbsp; &nbsp;");
}
}
document.write("<br/>");
}
</script>
</body>
</html>
 
 
  

Leave a Reply

Subscribe to Posts | Subscribe to Comments

Psang Iklan?

Psang Iklan?
Klik gambar diatas

Like Us!

Youtube

\
\

Labels

Powered by Blogger.

Total Pageviews

- Copyright © 2016 Jody Baharizki -@jodybaharizki- Powered by Blogger -