Yes, that is much better. Replace the value that is in the () after for the delay statement with the del1 array element:
delay[del1[i]);
Yes, that is much better. Replace the value that is in the () after for the delay statement with the del1 array element:
delay[del1[i]);