You are on page 1of 1

START

INPUT
years, hours

if hours
<= 40

if years if years
==1
== 1

PROCESS
overtime_hrs=(hours –
40)
elif years
(40*90)+(overtime_hrs)*
==2 or
years ==3
(rates*90) PROCESS
elif years ==2 (90 * hours)
or years ==3

PROCESS
overtime_hrs =(hours-
40)
(40*130)+ PROCESS
(overtime_hrs)*(rates*1 (130 * hours)
elif years
==4 or
years==5
elif years
==4 or
years ==5

PROCESS
overtime_hrs=(hours-
40) PROCESS
(40*160)+
(160 * hours)
(overtime_hrs)*(rates
elif years
*160)
>= 6

elif years
>= 6 PROCESS
(200 * hours)

PROCESS
overtime_hrs=(hours- OUTPUT
40)
(40*160)+ “THANK
(overtime_hrs)*(rates YOU”
OUTPUT
“SALARY: ₱"
OUTPUT
“TOTAL
SALARY: ₱”
END

You might also like