Question: Exam 2 Program Write a program to solve the following problem. Problem Statement Write a program that processes weekly employee time cards. Each employee will
Exam Program
Write a program to solve the following problem.
Problem Statement
Write a program that processes weekly employee time cards. Each employee will have two inputs, hours worked and their hourly rate of pay. Each employee will be paid time and a half for all hours over
Write a program that defines a subprogram named average that calculates the average pay per hour using input variables and pointer output variable.
o Average pay rate total pay total hours
Include code that uses a counting loop to process the user defined number of employees.
Include an if statement to test for hours worked over and calculate those at time and a half rate
Enter sets of employee data:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
