#include #include int main() { int h; int i; int j; int e; printf("Hauteur ? "); scanf("%d",&h); for (i=0;i<=h;i++){ for (j=h-i;j>0;j--){ printf(" "); } for (e=0;e<(i*2)-1;e++){ printf("*"); } printf("\n"); } return 0; }