Develop the logic for application for company which wishes report containing breakdown of payroll by department. Input comprises each employee's name, department number, hourly salary, and number of hours worked. Output is a list of seven departments in company (numbered 1 through 7) and total gross payroll (rate times hours) for each department.