#include <iostream>
usingnamespace std;
int main()
{
int x = 1;
do {
int b = 10;
do
{
int a = 10;
do
{
cout << "*"; // Prints stars
a--;
} while (a <= b);
cout << endl;
b--;
} while (b <= 1);
x++;
} while (x <= 1); // using this later to duplicate my pattern
system("pause");
return 0;
}
Am I crazy or did I see this question in another thread ?
Edited
You do need to post the same in different categories . A least if it was not reply in a day or two . We are trying to help by compiling your code and fixing it in our machine . It takes time sometime because we , programmers , work also do not forget that either . I am simply saying that because for someone looking too for that an answer to that It will be easier if there was only a thread for this .