<br />#include<iostream> using namespace std; int main() { cout<<"tt -:Christmas Tree:-"<<endl; int a=15,x,b,p=0; for(b=1; b<=a; b++) { p++; for(int i=0;i<=p;i++) { for(x=2*a-1-i;x>=b;x--) { cout<<" "; } if(b+i<a) { for(int x=1;x<=b+i;x++) { cout<<"* "; } cout<<endl; } else goto end; } } end: p=0; for(int i=0;i<6;i++) { for(int j=12+p;j>=1;j--) { cout<<" "; } p=a; for(int k=0;k<3;k++) { cout<<"* "; } cout<<endl; } cout<<"ttttt@ Myprogworld.....!!"<<endl; }