代码大全

(singke) #1
25

26 determine IRA contribution
27 IRA : 0
28 if EligibleForIRA EmPloyee ID then if 6
29 begin
30 IRA : IRAContribution Employee ID Retirement GrossPay
31 end
32
33 make weekly paycheck
34 Withholding : ComputeWithholding Employee[ID]
35 NetPay : GrossPay Withholding Retirement
36 SocialSecurity IRA
37 PayEmployee EmPloyee ID NetPay
38
39 add this employee’s paycheck to total for accounting
40 TtlWithholdings : TtlWithholdingst Withholding
41 TtlSocialbourity : TtlSocialSecurity SocialSecurity
42 TtlRetirement : TtlRetirement Retirement
43 end for
44
45 SavePayRecords Ttlwithholdings Ttlsocialsecurity TtlRetirement
5 1
6 6


1
2 for NumEmployees<1
3 if Employee ID SSWithheld
MAX_SOCIAL_SECURITY
4 if
and not Employee[ID] WantsRetirement
5 if not EligilbleForRetirement Employee[ID]
and
6 if not ElgibleForIRA Employee[ID]


and or


6
Free download pdf