On Friday, 21 March 2014 at 12:32:58 UTC, Sergei Nosov wrote:
> Probably, the most boring way is
>
> foreach(i; 0..N)
> {
> foreach(j; 0..N)
> write(" *"[i + j >= N/2 && i + j < 3*N/2 && i - j <=
> N/2 && j - i <= N/2]);
> writeln;
> }
A single foreach(i; 0..N*N) is more boring!