The main function calls for the "Get_input function" using (employeeData, hours). I was hoping that this would pass back to the variable "hours" defined within struct employee employeeData[NUM_EMPL]. Code segments are posted below.
Code:
struct employee employeeData[NUM_EMPL] = {
{98401, 10.60},
{526488, 9.75},
{765349, 10.50},
{34645, 12.25},
{127615, 8.35}
}, hours[NUM_EMPL], overtime, gross; /* variable for hours */
/* call Get_input function to get hours entered */
Get_input (employeeData, hours);