Alpha & Omega - Multi-dimensional Array
Create a multi dimensional array that has 100 grid elements.
If the column
is an odd number print the Omega symbol:
var omega = '\u03A9';
If the column
is an even number print the Alpha symbol:
var alpha = '\u03B1'
The end result should look similar to this:
α Ω α Ω α Ω α Ω α Ω
α Ω α Ω α Ω α Ω α Ω
α Ω α Ω α Ω α Ω α Ω
α Ω α Ω α Ω α Ω α Ω
α Ω α Ω α Ω α Ω α Ω
α Ω α Ω α Ω α Ω α Ω
α Ω α Ω α Ω α Ω α Ω
α Ω α Ω α Ω α Ω α Ω
α Ω α Ω α Ω α Ω α Ω
α Ω α Ω α Ω α Ω α Ω