TERSTRUKTUR
Nova El Maidah, S.Si.
tidak =0
N=0
N=N+1
Jumlah =Jumlah+1
tidak
N = 50 ?
ya
Cetak Jumlah
M=1
F=1
F=F*M
tidak
M=M+1 N=M?
ya
Cetak F
sign unsignedinteger
huruf
DELPHI:
huruf angka
_ huruf
_
create by nova elins03 19
INDENTIFIER
Berikut kata-kata yang tidak boleh digunakan
sebagai nama program karena sudah
dikenali sebagai perintah dalam program
PASCAL atau DELPHI:
and case dispinterface
array class div
as const do
asm constructor downto
begin destructor else
create by nova elins03 20
INDENTIFIER
end goto
except if
export implementation
file in
finalization inherited
finally initialization
for inline
fuction interface
create by nova elins03 21
INDENTIFIER
is or repeat
label out resourcestring
library packed set
mod procedure shl
nil program shr
not property string
object raise then
of record threadvar
create by nova elins03 22
INDENTIFIER
to until with
try uses xor
type var
unit while
2. Boolean(logika)
3. Char(karakter)
or bitwise disjungsi
2. Statement case
2. Statement while
3. Statement repeat
Proses A
ya
kondisi
tidak
Proses B Proses C
Baca A,B,C
tidak
A>B?
ya
MA MB
ya
M>C?
tidak
MC
Cetak M
Baca password
= ‘asdfg’ ?
selesai
2. PROGRAM KALKULATOR
Pencacah 1
tidak
Pencacah <=10
ya
Proses lain
Pencacah pencacah+1
Baca data
ya
Data = pembatas
tidak
Proses lain
Baca data
2. Kondisi inisialisasi
statement
kondisi
kondisi
statement