/*
#include<stdio.h>
int main()
{
int i,j;
for(i=0;i<8;i++)
{
for(j=0;j<8;j++);
if((i+j)%2==0)
printf("%c%c",219,219);
else
printf(" ");
printf("\n"); // ???
}
return 0;
}
*/
#include <stdio.h>
int main() {
int i, j;
for(i = 0; i < 8; i++) {
for(j = 0; j < 8; j++) {
if((i + j) % 2 == 0)
printf("%c%c", 219, 219);
else
printf(" ");
}
printf("\n");
}
{
unsigned char graph[][9] = {
{201, 205, 205, 205, 203, 205, 205, 205, 187},
{186, ' ', ' ', ' ', 186, ' ', ' ', ' ', 186},
{204, 205, 205, 205, 206, 205, 205, 205, 185},
{186, ' ', ' ', ' ', 186, ' ', ' ', ' ', 186},
{200, 205, 205, 205, 202, 205, 205, 205, 188}
};
for(size_t y = 0; y < 5; ++y) {
for(size_t x = 0; x < 9; ++x) {
putchar(graph[y][x]);
}
putchar('\n');
}
}
return 0;
}