Analysis Process:
1. Display a program title. 2. Prompt for the Employee ID 3. Prompt for the Hourly rate. 4. Prompt for Regular hours. 5. Prompt Overtime hours. 6. Add net and subtract tax’s equal gross. 7. Divide tax to gross. 8. Display the net.
Input: Item Employee ID (string: EmployeeID) Item Hourly rate (a float: HourlyRate ) Item Regular hours (a float: RegHours) Item Gross pay (a float: GrossPay) Item Tax (a float: Tax) Item Parking (a float: Parking) Item Overtime hours (a float: OverTimeHours) Item Net pay (a float: NetPay)
Output: Gross pay (real: GrossPay) Design Main Module Declare EmployeeID as String Declare HourlyRate as real Declare RegHours as integer Declare GrossPay as integer Declare Tax as real Declare Parking Declare OverTimeHours Delcare NetPay Write “hourly rate” Write “This program computes the total hours” Call Input Data Module Call Perform Calculations Module Call Output Results Module End Program End Main Module Input Data Module Write “What is the Employee ID?” Inpute EmployeeID Write “What is the total hourly rate?” Input HourlyRate Write “what are the total regular hours?” Input RegHours Write “What is the gross pay”? Input GrossPay Write “ How much are the tax’s”? Input Tax