i,j;main(n){for(scanf("%d",&n);i++<n-1;puts("")){for(j=1;j++<n-i;)printf(" ");for(j=1;j++<i*2;)printf("*");}for(j=2;j++<n;)printf(" ");puts("*");}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page