CINS 225
PROJECT 1
Version 1.1
Changes
from 1.0 are noted in bold font
Input:
Employee Number (long)
Hours Worked (float)
Rate of Pay (float)
Number of Exemptions (short)
Calculate:
Gross Pay – Hours Worked Times Rate of Pay
Overtime Note-
If Hours Worked is greater than
40, Hours in excess of 40 are paid at time and half. (Rate of Pay * 1.5)
Social Security Tax – 6.2 % of
Gross Pay
Medicare Tax - 1.45 % of Gross Pay
Output: Employee Number
Gross Pay
Social Security Tax
Medicare Tax
Net Pay (Gross Pay minus all Taxes)
Repeat this
until an Employee Number of -1 is entered