#include <stdio.h> main() { int i,j; for(i=1;i<=6;i++) { for(j=1;j<=6-i;j++) printf(" "); for(j=1;j<=2*i-1;j++) printf("*"); printf("\n"); } }