Please help me with star patterns or anything with a patterns like 'x' in C++. What ois the logic behind it.
x x ********
xx xx *******
xxx xxx *****
xxxx xxxx ***
xxxxx xxxxx **
these might look easy, but i dont get the logic. please give detailed explanation, with simple example, if you can;)