Create the algorithm which will read a 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 contains employee number, hours worked and hourly rate of pay. Each employee's gross pay is computed as product of the hours worked and rate of pay. At the end of the report, print total gross earnings for that week.