Another question.
I have to calculate the weekly pay using two dimensional arrays. My teach emailed me back saying that my parameters should say void calc_pay(int emp_counter, wg_hr_py[i][x])
but when I write that part of the program it doesn't work
This is exactly what I have.
void calc_pay(int emp_counter, wg_hr_py[i][x])
{
int i;
for(i = 0; i < emp_counter; i++)
{
wg_hr_py[i][2] = wg_hr_py[i][1] * wg_hr_py[i][0]
}
}
Please help.