error message "ledpin not declared in this scope"

Two problems.

First the code is very hard to read as you missed the instruction on using code tags.

Second,

Do you see anything wrong with this line of the program:

boolean ledPin[] = {8,9,10,11};

Hint,hint. Last I knew, booleans were either 0 or 1.