Professional Documents
Culture Documents
Flowchart Assignment
Flowchart Assignment
Flowchart Assignment
Input N1,N2,N3
FALSE TRUE
IS N1 > N2?
FALSE
FALSE
IS N2>N3? IS N1 >N3
MAX N3
MAXN3
TRUE
TRUE
STOP
START
FALSE
Print “Bonus
TRUE for ”,NAME ”is
If (overtime -2/3)*ABSENT>30) PAYMENT 40 $ ”, PAYMENT
FALSE
Print “Bonus
for ”,NAME ”is
TRUE
$ ”, PAYMENT
If (overtime -2/3)*ABSENT>20) PAYMENT 30
STOP