#include<iostream>
using namespace std;
int main()
{
int first=0;
int count=0;
int space=1;
space=6-1;
for(first=0;first<6;first++){
for(count=0;count<space;count++){
cout<<" ";
space--;
for(count=0;count<2*first-1; count++){
cout<<"*";
}
space=1;
cout<<endl;
}
}
}
0 comments:
Post a Comment