#include<iostream>
#include<iomanip>
#include<conio.h>
using namespace std;
int main()
{
int i,j,k;
cout<<"Chess board:\n";
cout<<"______________";
cout<<"\n\n";
for(k=0;k<4;k++)
{
cout<<"\t\t";
for(i=0;i<4;i++)
{
cout<<""<<static_cast<char>(219)<<""<<static_cast<char>(255);
}
cout<<endl;
cout<<"\t\t";
for(j=0;j<4;j++)
{
cout<<""<<static_cast<char>(255)<<""<<static_cast<char>(219);
}
cout<<endl;
}
cout<<"\n\n";
getch();
return 0;
}
No comments:
Post a Comment