for (int d(1); d <= numSpaces; d++)
{
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 0); //This sets the text colour to black
cout << BLANK; //print a space
}
for (int s(1); s <= numLeaves; s++)
{
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 2); //This sets the LEAF colour to green
cout << LEAF;
}
cout << LEAF << LEAF << LEAF; //print a leaf symbol
cout << EOL; //go to next line
numLeaves = numLeaves+ 2; //This will set the number of leaves on the next branch
numSpaces--; //This will reduce the amount of black spaces on the next branch
}