Help with for loops and arrays

This is a discussion on Help with for loops and arrays within the C Programming forums, part of the General Programming Boards category; Hi
I'm really new at C-programing so i would be very happy if someone could help me.
I have a ...

1 symbolizes the letter A and shall be printed with a color
0 symbolizes the background and shall be printed with a background colour

As far as i understand it, I need 2 for loops for this
one that handles the one's and one that handles the zero's
and if it is 0 it shall be printed with a backgroundcolor and if it is 1 then it shall be printed with a colour

Now to my question. How do i write this code?
Do I have to write it in a different way because it is related to an array?
It seems to me as well that i need if statements?