the problem is explained in the comments part in the top of the code between /* and */ , I will really apreciate any kind of help about this please.
Code:
/*************************************************************
Write a program that uses for structures to print
the following patters separately, one bellow the other.
Use for loops to generate the patters separately.
All asterisks (*) should be printed by a single statement
of the form cout << '*'; ( this causes the asterisks to print
side by side). [Hint: The last two patterns require that
each line begin with an apropiate number of blanks.
*
**
***
****
*****
******
*******
********
*********
**********
************************************************************/
#include <iostream>
#include <cstdlib>
#include <cstdio>
using namespace std;
int main()
{
// wait until user is ready before terminating program
// to allow the user to see the program results
system("PAUSE");
return 0;
}