Cales - Act2 - Comprog Ict 11 - 1
Cales - Act2 - Comprog Ict 11 - 1
Cales - Act2 - Comprog Ict 11 - 1
Input Specification:
Employees Name:
Department Code:
Basic Salary:
OTime Pay:
SSS:
Tax:
Output Specification
ABC Supermarket
Requirements:
START
SW = Ø
LN = Ø
GP = Ø
TD = Ø
NP = Ø
DEPT = Ø
PROCESS
YES
SW = Ø
NO
END
PROCESS
HDG
RC
NO
LN = 0
YES
EXIT
HDG
TEST
COMP
DETAILS
EXIT
COMP
GP = BS + OTP
TD = SSS + TAX
NP = GP – TD
CONVERSION
YES NO
DEPTC < 2
NO YES NO
YES
DEPTC = 1 DEPTC = 3
EXIT
DETAILS
GP = Ø
TD = Ø
NP = Ø
DEPT = Ø
LN = LN + 1
YES
LN == 5 LN = 0
NO
EXIT