ok so I have
#include <iostream>
#include <cmath>
#include <iomanip>
using namespace std;
int main()
{
{
cout << "****";
cout << "***";
cout << "**";
cout << "*";
}
{
cout << "*";
cout << "**";
cout << "***";
cout << "****";
}
{
cout << "*";
cout << "***";
cout << "*****";
cout << "***";
cout << "*";
}
system("pause");
return 0;
}
my goal is I amtrying to make a program thats displays 3 triangles
*
**
***
****
*
***
*****
***
*
****
***
**
*
what am I doing wrong ?