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