Skip to main content

Example Program: Payroll System

Project Brief

Design a program that will accept as data input the hours worked and the hourly rate of an employee and calculates the overtime pay and gross pay. The program should display the hours worked, the net pay and the gross pay. Employees are paid time and a half for any hours worked over the basic forty.

A structure chart has been developed for this system, showing the payroll system calling three procedures. Each procedure is numbered in the hierarchy. This general layout follows the idea of Input, Process and Output.

Next: PayrollSystem Data Table