You are on page 1of 1

START

Input float
Fungsi bonus()
Fungsi pokok() gol,gp,lem,mkn,bns,gj,bs,j
ml,ttl;

char nm[30] T
Gol==1 bs=3250
T
gj=1750
Gol==1 Fungsi lembur()
Fungsi makan () F
T T
Gol==2 bs=4000
F lem=gj*1.75 Gol==1
T jml>=8 &
gj=2500 Gol==2 T jml<=10 F
F
T
T mkn=gj*1.5
Gol==3 bs=4500
F lem=gj*1.65 Gol==2 F
T jml>10
Gol==3
T bs=0
gj=3000 F
mkn=gj*2.5
T F
lem=gj*1.5 Gol==3 T Jml<9
F
mkn=0
gj=0

Jml<7 lem=0
Jml<7 bns=0 bns=(bs)
T F
T F
gp=jml*g gp=gj*7
lem=0 lem=(jml-7)*lem
j
Fungsi total ()
FINISH
ttl=gp+lem+mkn+bns

You might also like