Here is the Home work for making start using C++
PHP Code:
#include <iostream>
using namespace std;
int counter=1;
int m=1;
int n,j,o;
int main()
{
for(n=9;n>=1;n--)
{
for (j=5;j>=counter;j--)
{
cout<<"*";
}
if(counter>5)
{
for (o=0;o<=m;o++)
{
cout<<"*";
}
m++;
}
counter++;
cout<<endl;
}
return 0;
}