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