Solution :
a). The two arrays that are used in parallel in order to store the identification of two numbers of 5 employees and their weekly gross payments is :
int id_array[5];
double gross_pay[5];
b). The loop that uses the arrays for printing the identification number and the weekly gross payment is given below :
for(int i=0; i<5; i++)
{
count <<id_array[i] <<" " << gross_pay[i] << end;
}