? ??????????????Purple Script? ????? ?? ???Rating: 3.3 (38 Ratings)??0 Grabs Today. 2581 Total Grabs. ????
??Preview?? | ??Get the Code?? ?? ????1?? ?????My Diary? ????? ?? ???Rating: 3.9 (41 Ratings)??0 Grabs Today. 3129 Total Grabs. ??????Preview?? | ??Get the Code?? ?? ???????????????? BLOGGER TEMPLATES AND TWITTER BACKGROUNDS ?

Kamis, 01 Oktober 2009

Tugas 1

Scriptnya dari Aritmatika:
<?php$nilai1=32;$nilai2=8;$jumlah=$nilai1+$nilai2;$kurang=$nilai1-$nilai2;$kali=$nilai1*$nilai2;$bagi=$nilai1/$nilai2;$sisa=$nilai1%$nilai2;print "Contoh operasi Aritmatika";print "Nilai \$nilai1=$nilai1 dan \$nilai2=$nilai2";print "\$nilai1 + \$nilai2 = $jumlah";print "\$nilai1 - \$nilai2 = $kurang";print "\$nilai1 * \$nilai2 = $kali <:br>"; print "\$nilai1 / \$nilai2 = $bagi"; print "\$nilai1 % \$nilai2 = $sisa"; ?>

0 komentar: