Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
45Activity
0 of .
Results for:
No results containing your search query
P. 1
Bilangan Ganjil Dan Genap

Bilangan Ganjil Dan Genap

Ratings:

1.0

(1)
|Views: 6,858 |Likes:
Published by cw3_thy99

More info:

Published by: cw3_thy99 on Jun 29, 2010
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOCX, PDF, TXT or read online from Scribd
See more
See less

08/13/2013

pdf

text

original

 
 __BILANGAN GANJIL DAN GENAP__ 
 
Karateristik bilangan Ganjil dan GenapBil. Ganjil :Bilangan yang tidak habis dibagi dengan bilangan 2 atausisa hasil baginya adalah 1. Contoh: 7 Mod 2 =sisa hasil baginya 15
 
Mod 2 = sisa hasil baginya 19 Mod 2= sisa hasil baginya 1Bil. Genap :Bilangan yang Habis dibagi 2 atau sisa hasil baginyaadalah 0.Contoh :4 Mod 2 =sisa hasil baginya 06
 
Mod 2 = sisa hasil baginya 08 Mod 2 = sisa hasil baginya 0
 
A
lgoritma Menentukan Bilangan Ganjil Dan Genap
A
dalah sebagaiberikut :1.Input angka yang akan ditentukan ( Vbil )2.Dikondisikan,
A
pakah Vbil mod 2 = 0
Jika Ya,berarti akan tercetak di (VH
AS
IL) ´ Bil.Genapµ
Jika Tidak Berarti akan tercetak di( VH
AS
IL)´Bil.Ganjilµ3.Berhenti menghitung (
S
top)
 
Flowchat Menentukan Bilangan Ganjil Dan Genap
 
 Y
 
P
arameter menentukan Bil.Ganjil dan Genap1.Inputan ( Tangka.text ) / Vbil2.Output ( Thasil.text ) / VHasil3.
P
roses
start
InputVbil?IF Vbil mod 2 =
 
VHASIL=´Genap´VHASIL=´Ganjil´outputVHasil
 
stop
 
 
Terlebih dahulu buat Tabelnya:
 
Buat Coddingnya:
 
Codding
P
roses
P
rivate
S
ub cmdproses_Click()If Val(Text1.Text) Mod 2 = 0 Thenlabel1.Caption = "genap"Elselabel1.Caption = "ganjil"End Ifcmdlg.Enabled = Truecmdproses.Enabled = FalseEnd
S
ub

Activity (45)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
Zakaria Bani liked this
Nurul Amraini liked this
adambitor1713 liked this
Yom Emzir liked this
Gita Pramodha liked this
Usep Saefudien liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->