Introduction - If you have any usage issues, please Google them yourself
#include "stdafx.h"
#include <iostream>
using namespace std;
void main()
{
int i = 0;
int j = 8;
int l = j;
for (int k = 0; k < 9; k++)
{
for (i = 0; i < j; i++)
l = j;
j -= l - i;
for (i = 0; i < (10- j) - 1; i++)
{
cout << "*";
}
j = --l;
cout << endl;
}
system("pause");
}