You are on page 1of 1

#include <iostream>;

using namespace std;


int main()
{
int contador=1;
for (int = i = 1; i < 8; i++)
{
for (int = j = 0; j < 8; j++)
{
cout << "* ";
if (j == 7)
{
contador++;
}
}

if (contador%2 == 0)
{
cout << endl;
cout << ' ';
}
else
cout << endl;

system("Pause");
return 0;

You might also like