Can you delcare constant Write the Program logic that will compute the paycheck
ID: 441653 • Letter: C
Question
Can you delcare constant
Write the Program logic that will compute the paycheck of an employee. This is as much an exercise in designing your logic as much as a programming exercise in the grammar and syntax. Your program's logic will perform a user to perform the following: Enter the employee's LAST Name Enter the employee's FIRST Name Enter the employee's ID Number Enter the employee's Total Hours Worked up to a maximum of 60 hours Enter the employee's Pay Per Hour. The Pay per hour cannot be than $100.00 per hour. It cannot be less than the minimum wage (i.e.$8.50 per hour). Detect any erroneous pay rate and set it to a default. If less than the minimum hourly wage, set to the minimum hourly wage. If greater than the maximum rate then set that employee to the maximum rate. Display an appropriate "error message" telling that data entry clerk what they did. Federal tax rate and State tax rate from zero to 40%. State and Federal tax rates cannot exceed a combined 80%. Calculations include: Compute the Regular Pay (any hours up to 40 hours