Create a flowchart to calculate the payroll of each employee for one pay period. The flowchart should account for overtime as time and a half for any hours greater than 40, and the resulting output should be printed to a check, along with the relevant employee information needed.