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