You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
378 B
26 lines
378 B
6 years ago
|
#include<stdio.h>
|
||
|
#include<stdlib.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",168,128);
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
printf(" ");
|
||
|
}
|
||
|
}
|
||
|
printf("\n");
|
||
|
}
|
||
|
system("pause");
|
||
|
return 0;
|
||
|
|
||
|
}
|
||
|
|