Need you help, newbie here

Wrong format, need [ ] for arrays:

led[] = {13,12,8,7,4,2,};// led[0] = 13, led[1] = 12,etc. led[5]= 2

digitalWrite(led[x], HIGH);

led might be a predefined keyword as well, try changing the name to ledPin if you still have errors.