I just want to know if I am doing this code correctly because when it outputs, it shows the numbers that I've entered but it only display one name for all.
1 2 3 4 5 6 7
constint MAXEMPS = 5;
for (int Index = 0;Index<MAXEMPS;Index++)
{
printf(REPFORMTa,fullname,theEmps[Index].payrate,theEmps[Index].hours,theEmps[Index].gross,theEmps[Index].fedtax,theEmps[Index].ssitax,theEmps[Index].net);
printf(REPFORMTb,theEmps[Index].ovthours,theEmps[Index].statetax, theEmps[Index].defr);
printf("\n");
}