Jadilah Anggota smaneka untuk mendapatkan informasi terkini di smaneka.tk, yuk...

Guru Welly

Foto saya
NIP. 197812312010011028 / NUPTK 0563756657110173 / N.R.G 162241136461 / Nomor Peserta Sertifikasi Pendidik 16051822410077 / Kode Sertifikasi 224

Senin, 07 September 2009

for

0 komentar


<?php
for ($i = 1; $i <= 5; $i++) { print $i ."
";
}

$bila = 5;
$pola = 1;

print "
Bilangan ganjil antara 5 sampai 25
";
for ($pola=1; $pola<10; $pola++) { $bila += 2; print "$bila
";
}

?>





Baca Selengkapnya......

Minggu, 06 September 2009

Odd or Even Script

0 komentar


Private Sub Command1_Click()
Dim a
a = Text1.Text
Dim b
b = a / 2
Dim c
c = Int(b)


If b = c Then
Label1.Caption = "Odd: False"
Label2.Caption = "Even: True"
Text1.Text = a
Text1.SetFocus

Else
Label1.Caption = "Odd: True"
Label2.Caption = "Even: False"
Text1.Text = a
Text1.SetFocus

End If
End Sub



Baca Selengkapnya......
 
Minima 4 coloum Blogger Template by Beloon-Online.
Simplicity Edited by Ipiet's Template