Professional Documents
Culture Documents
Homepage For Staf: Enter 1 Salary Enter 2 Service Enter 3 Stock Enter 4 Report
Homepage For Staf: Enter 1 Salary Enter 2 Service Enter 3 Stock Enter 4 Report
for Staf
Enter 1 = Salary
Enter 2 = Service
Enter 3 = Stock
Enter 4 = Report
Evaluate code
False
False
False
False
default
End
Salary
Set i=0
Set
workhour<=8
Calculate Calculate
totalpay=8.0*workhou totalpay=(8*8)+
r ((workhour-8)*5)
bonus=0.15*totalpay bonus=0.15*totalpay
totalsalary=bonus+to totalsalary=bonus+to
talpay talpay
End
Service
Enter A : Machine TypeA
Enter B : Machine TypeB
Enter C : Machine TypeC
Evaluate code
No
print
Invalid Input
End
Stock
Enter1 : 1001 RAHSIA WADI
Enter2 : BEAUTY HAZIQAH
Enter 3 : FARID HEALTH
Enter4= IQMAL BIOMAX
Evaluate code
False
code==2? True
Read choice1
False
code==3? True
Read choice1
False
code==4? True
Read choice1
False
print Calculate
Invalid Input total=choice1+1000
total=choice2+1000
total=choice3+1000
total=choice4+1000
Display choice1
Display choice2
Display choice3
Display choice4
Report
End
Set payment=0
Set service=0
Set monthly=0
Set sale=0
Read payment
Read service
Read monthly
Read sale
Calculate
Outcome= payment + service +
monthly
Income= sale
Profit= income-outcome
Percentage= (profit/outcome)*100
print Outcome
print Income
print Profit
print Percentage
End