Design an algorithm that will read a file of employee records and produce a weekly report of gross earnings for those employees. Gross earnings are earnings before tax and other deductions have been deducted. Each input record contains the employee number, the hours worked and the hourly rate of pay. Each employee's gross pay is calculated as the product of the hours worked and the rate of pay. At the end of the report, print the total gross earnings for that week.