Hi,
MERRY CHRISTMAS TO U!
Self learner stuck on vc++ problem.
Create a checkboard pattern with help of *s.8 rows 8 stars
********
********
********
********
*********
I dont know where to use cout<<" ";??????
My code till now:
#include<iostream.h>
int main()
{
int counter,x;
counter=0;
while(counter<8)
{
for(x=0;x<8;x++)
{
cout<<"*";
}
cout<<endl;
counter++;
}
return 0;
}
I have tried it putting in the inside loop ,outside the loop but invain...
please HELP!!
Thanks .