Declare a single structure type suitable for an employee record consisting of an
ID: 3646886 • Letter: D
Question
Declare a single structure type suitable for an employee record consisting of an integer identification number, a last name (consisting of a maximum of 20 characters), a floating-point pay rate, and a floating-point number of hours worked. Using this structure type, write a C progam that interactively accepts the following data into an array of six structures:ID Number Name Pay Rate Hours Worked
3462 Jones 4.62 40.0
6793 Robbins 5.83 38.5
6985 Smith 5.22 45.5
7834 Swain 6.89 40.0
8867 Timmins 6.43 35.5
9002 Williams 4.75 42.0
Once the data have been entered, the program should create a payroll report listing each name, number, and gross pay. Include the total gross pay of all employees at the end of the report.
<<Someone answered this question earlier, but I can't comment on it. But it's not compiling properly.>>