Wednesday, April 14, 2010
latihan array 3
Posted by Dendi Prana Yudha in
Kuliah,
Web
<HTML>
<HEAD>
<TITLE>Belajar Array</TITLE>
</HEAD>
<BODY>
<SCRIPT LANGUAGE = "JavaScript">
<!--
var hari = new Array("Minggu","Senin","Selasa","Rabu","Kamis","Jum'at","Sabtu");
for (i=0; i<7; i++)
{
document.write(hari[i] +"<br>");
}
alert ("Selamat Belajar Striuktur Data");
alert ("Semoga Memperoleh Ilmu yang Bermanfaat");
//-->
</SCRIPT>
</BODY>
</HTML>
0 komentar:
Post a Comment
Tinggalkan Komentar Disini