Anda di halaman 1dari 6

Peranc.

& Analisis
Algoritma

Abdul Raffiqurahman R ( 50415019 )


Abiyu Daniswara ( 50415043 )
Adi Pratama (50415130 )
Aditya Noor Abadi (50415189)
Titles you can't find anywhere else

Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions!

Start Free Trial


Cancel Anytime.
Titles you can't find anywhere else

Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions!

Start Free Trial


Cancel Anytime.

Mene
Menenntuk
tukan posi
posittif atau neg
negatif
tif sua
suatu bil
bilang
angan
meng
menggu
guna
nakkan alg
algorit
oritma
ma :

1. Algo
Algoritm
ritma
a Bahasa
Bahasa Indone
Indonesia
sia
2. Algor
Algoritm
itma
a Pseudo
Pseudoco
code
de
3. Algori
Algoritma
tma Flowc
Flowchart
hart
Titles you can't find anywhere else

Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions!

Start Free Trial


Cancel Anytime.

ALGORITMA BAHASA INDONESIA

1) MULAI
2) MASUKKAN
MASUKKAN BILANGAN
BILANGAN BULAT
BULAT AT
ATAU BILANGAN
BILANGAN REAL
3) JIKA
JIKA BILANG
BILANGAN
AN TER
TERSE
SEBUT
BUT LEBI
LEBIH
H BES
BESAR
AR SAMA
SAMA
DENGAN DARI NOL
4) MAKA
MAKA BIL
BILAN
ANGA
GAN
N TER
TERSEBU
SEBUT
T BILA
BILANG
NGAN
AN POS
POSIT
ITIF
IF
5) JIKA
JIKA BIL
BILANG
ANGAN
AN TERS
TERSEB
EBUT
UT TID
TIDAK
AK LEB
LEBIH
IH BES
BESAR
AR SAM
SAMA
A
DENGAN NOL
Titles you can't find anywhere else

Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions!

Start Free Trial


Cancel Anytime.

Algoritma Pseudocode

1 | //Pseu
//Pseudoc
docode
ode untuk
untuk menen
menentuk
tukan
an bilang
bilangan
an positif
positif at
atau
au negati
negatif 

2 | //Dekl
//Deklar
arasi
asi :
3 | bil : inte
integer
ger
4 | //Impleme
//Implementa
ntasi
si :
5 | Input bil
6 | Read bil
7 | If bil
bil >= 0
8 | Write “Ini
Ini bila
bilang
ngan
an Positi
ositif 
f ”
9 | Else
Titles you can't find anywhere else

Try Scribd FREE for 30 days to access over 125 million titles without ads or interruptions!

Start Free Trial


Cancel Anytime.

owc ar enen u an
Bilangan Positif/Negatif 

MULAI

Masukan
Masukan Bilangan
Bilangan

Benar  Bilangan
Bilangan positif 
positif 
Bilang
Bilangan
an > 0

Anda mungkin juga menyukai